Collections: Ensures a torsion test is idempotent with respect to other tests
@@ -439,7 +439,7 @@ def test_torsiondrive_dataset(fractal_compute_server):
ncompute = ds.compute("spec1")
assert ncompute == 2
- assert ds.status("spec1").loc["INCOMPLETE", "Spec1"] == 2
+ assert ds.status("spec1")["Spec1"].sum() == 2 # Might have completed from previous run.
ds.save()
@@ -447,8 +447,8 @@ def test_torsiondrive_dataset(fractal_compute_server):
# Check status
status_detail = ds.status("Spec1", detail=True)
- assert status_detail.loc["hooh1", "Complete"] == 1
- assert status_detail.loc["hooh1", "Total Points"] == 4
+ assert status_detail.loc["hooh2", "Complete"] == 1
+ assert status_detail.loc["hooh2", "Total Points"] == 4
fractal_compute_server.await_services(max_iter=5)
