Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test_executor_backend_flux.py
Browse files Browse the repository at this point in the history
jan-janssen authored Dec 19, 2024
1 parent 38125a5 commit 9ef5180
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_executor_backend_flux.py
Original file line number Diff line number Diff line change
@@ -112,10 +112,10 @@ def test_output_files_cwd(self):
flux_executor_pmi_mode=pmi,
flux_log_files=True,
) as p:
output = p.map(mpi_funct, [1, 2, 3])
output = p.map(calc, [1, 2, 3])
self.assertEqual(
list(output),
[[(1, 2, 0), (1, 2, 1)], [(2, 2, 0), (2, 2, 1)], [(3, 2, 0), (3, 2, 1)]],
[1, 2, 3],
)
self.assertTrue(os.path.exists(file_stdout))
self.assertTrue(os.path.exists(file_stderr))
@@ -134,10 +134,10 @@ def test_output_files_abs(self):
flux_executor_pmi_mode=pmi,
flux_log_files=True,
) as p:
output = p.map(mpi_funct, [1, 2, 3])
output = p.map(calc, [1, 2, 3])
self.assertEqual(
list(output),
[[(1, 2, 0), (1, 2, 1)], [(2, 2, 0), (2, 2, 1)], [(3, 2, 0), (3, 2, 1)]],
[1, 2, 3],
)
self.assertTrue(os.path.exists(file_stdout))
self.assertTrue(os.path.exists(file_stderr))

0 comments on commit 9ef5180

Please sign in to comment.