Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Fix/unit-tests #74

Merged
merged 1 commit into from
Jan 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_bodyimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_body_image_normalizer(self):
local_repository = LocalPluginRepository(Path(__file__).parent.parent / "boefjes" / "plugins")

runner = LocalNormalizerJobRunner(local_repository)
output = runner.run(meta, get_dummy_data("cat_image"))
output = runner.run(meta, get_dummy_data("cat_image")).observations[0].results

self.assertEqual(1, len(output))
self.assertEqual(
Expand Down Expand Up @@ -84,7 +84,7 @@ def test_body_normalizer(self):
local_repository = LocalPluginRepository(Path(__file__).parent.parent / "boefjes" / "plugins")

runner = LocalNormalizerJobRunner(local_repository)
output = runner.run(meta, get_dummy_data("download_body"))
output = runner.run(meta, get_dummy_data("download_body")).observations[0].results

self.assertEqual(4, len(output))

Expand Down