Skip to content

Commit 58e4767

Browse files
Ryan CaliRyan Cali
authored andcommitted
Fixed tests
1 parent 4d447d1 commit 58e4767

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pydra/engine/tests/test_task.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,13 +1043,14 @@ def test_audit_shellcommandtask(tmpdir):
10431043
for file in glob(str(message_path) + "/*.jsonld"):
10441044
with open(file, "r") as f:
10451045
data = json.load(f)
1046-
if "AssociatedWith" in data:
1047-
if "@type" in data:
1046+
1047+
if "@type" in data:
1048+
if "AssociatedWith" in data:
10481049
assert "shelly" in data["Label"]
10491050

10501051
if "@type" in data:
10511052
if data["@type"] == "input":
1052-
assert None == data["Label"]
1053+
assert data["Label"] == None
10531054

10541055
if "Command" in data:
10551056
command_content.append(True)

0 commit comments

Comments
 (0)