Skip to content

Commit fd625a9

Browse files
Ryan CaliRyan Cali
authored andcommitted
Updated tests, accounting for duplicate key names
1 parent c4f21af commit fd625a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydra/engine/tests/test_task.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,8 +1043,8 @@ 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 "@type" in data:
1047-
if "AssociatedWith" in data:
1046+
if "AssociatedWith" in data:
1047+
if "@type" in data:
10481048
assert "shelly" in data["Label"]
10491049

10501050
if "@type" in data:

0 commit comments

Comments
 (0)