Skip to content

Commit

Permalink
fix tests broken by removal of provider.channel
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford committed Nov 7, 2024
1 parent 5d3b61e commit 22d6799
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion parsl/tests/test_providers/test_pbspro_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ def test_submit_script_basic(tmp_path):
queue="debug"
)
provider.script_dir = tmp_path
provider.channel.script_dir = tmp_path
job_id = str(random.randint(55000, 59000))
provider.execute_wait = mock.Mock(spec=PBSProProvider.execute_wait)
provider.execute_wait.return_value = (0, job_id, "")
Expand Down
1 change: 0 additions & 1 deletion parsl/tests/test_providers/test_slurm_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ def test_submit_script_basic(tmp_path):
partition="debug"
)
provider.script_dir = tmp_path
provider.channel.script_dir = tmp_path
job_id = str(random.randint(55000, 59000))
provider.execute_wait = mock.MagicMock(spec=SlurmProvider.execute_wait)
provider.execute_wait.return_value = (0, f"Submitted batch job {job_id}", "")
Expand Down

0 comments on commit 22d6799

Please sign in to comment.