@@ -245,7 +245,6 @@ def test_dryrun_multi_role(self, mock_version: MagicMock) -> None:
245245 )
246246
247247 script = req .materialize ()
248- print (script )
249248 self .assertEqual (
250249 script ,
251250 f"""#!/bin/bash
@@ -1050,7 +1049,7 @@ def test_no_gpu_resources(self) -> None:
10501049 self .assertNotIn ("--gpus-per-node" , " " .join (sbatch ))
10511050 self .assertNotIn ("--gpus-per-task" , " " .join (sbatch ))
10521051
1053- def test_describe_squeue_handles_none_job_resources (self ):
1052+ def test_describe_squeue_handles_none_job_resources (self ) -> None :
10541053 """Test that describe handles job_resources=None without crashing (i.e. for SLURM 24.11.5)."""
10551054
10561055 # Mock SLURM 24.11.5 response with job_resources=None
@@ -1079,7 +1078,7 @@ def test_describe_squeue_handles_none_job_resources(self):
10791078 assert result .app_id == "123"
10801079 assert result .state == AppState .PENDING
10811080
1082- def test_describe_sacct_handles_dot_separated_job_ids (self ):
1081+ def test_describe_sacct_handles_dot_separated_job_ids (self ) -> None :
10831082 """Test that _describe_sacct handles job IDs with '.' separators (not just '+')."""
10841083 sacct_output = """JobID|JobName|Partition|Account|AllocCPUS|State|ExitCode
1085108489|mesh0-0|all|root|8|CANCELLED by 2166|0:0
@@ -1092,7 +1091,6 @@ def test_describe_sacct_handles_dot_separated_job_ids(self):
10921091
10931092 scheduler = SlurmScheduler ("test" )
10941093 result = scheduler ._describe_sacct ("89" )
1095- print ("result: " , result )
10961094
10971095 # Should process only the main job "89", not the sub-jobs
10981096 assert result is not None
0 commit comments