Skip to content

Commit

Permalink
simplify test case and check if list are of equal length
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans-Chrstian committed Aug 13, 2024
1 parent 61ef7c0 commit e781fa0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ckanext/fairdatapoint/tests/test_record_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,4 @@ def test_process_catalogs(self, mocker, harvest_catalogs, expected_results):
actual_result = self.fdp_record_provider._process_catalog("http://example.com/catalog1")

# Assertions
for key, value in expected_results.items():
assert actual_result[key] == value
assert actual_result == expected_results

0 comments on commit e781fa0

Please sign in to comment.