Skip to content

Commit

Permalink
Fix other tests due the new return
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeltrankyl committed Jan 8, 2025
1 parent da85d4c commit 3b0fd70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/test_job_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def create_job_and_update_parameters(autosubmit_config, experiment_data, platfor
}
)])
def test_update_parameters_current_variables(autosubmit_config, experiment_data, expected_data):
job = create_job_and_update_parameters(autosubmit_config, experiment_data)
job,_ = create_job_and_update_parameters(autosubmit_config, experiment_data)
for key, value in expected_data.items():
assert job.parameters[key] == value

Expand Down Expand Up @@ -152,7 +152,7 @@ def test_recover_last_log_name(tmpdir, test_with_logfiles, file_timestamp_greate
{'notify_on': ['COMPLETED']}
)])
def test_update_parameters_attributes(autosubmit_config, experiment_data, attributes_to_check):
job = create_job_and_update_parameters(autosubmit_config, experiment_data)
job, _ = create_job_and_update_parameters(autosubmit_config, experiment_data)
for attr in attributes_to_check:
assert hasattr(job, attr)
assert getattr(job, attr) == attributes_to_check[attr]
Expand Down

0 comments on commit 3b0fd70

Please sign in to comment.