Skip to content

Commit

Permalink
adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marialainez committed Sep 23, 2024
1 parent f8b0edd commit e94a15a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/osa/scripts/tests/test_osa_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,17 @@ def test_simulate_processing(

with open(json_file_dl1) as file:
dl1 = yaml.safe_load(file)
assert len(dl1["entity"]) == 19
assert len(dl1["activity"]) == 5
assert len(dl1["used"]) == 15
assert len(dl1["wasGeneratedBy"]) == 10
assert len(dl1["entity"]) == 14
assert len(dl1["activity"]) == 3
assert len(dl1["used"]) == 10
assert len(dl1["wasGeneratedBy"]) == 6

with open(json_file_dl2) as file:
dl2 = yaml.safe_load(file)
assert len(dl2["entity"]) == 25
assert len(dl2["activity"]) == 6
assert len(dl2["used"]) == 21
assert len(dl2["wasGeneratedBy"]) == 12
assert len(dl2["entity"]) == 14
assert len(dl2["activity"]) == 3
assert len(dl2["used"]) == 10
assert len(dl2["wasGeneratedBy"]) == 6

rc = run_program("simulate_processing", "-p")
assert rc.returncode == 0
Expand Down

0 comments on commit e94a15a

Please sign in to comment.