Skip to content

Commit

Permalink
test: fix flake8 test
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Nov 2, 2023
1 parent 4d30096 commit 227f240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/harvest/tests/harvesters/test_ckanharvester.py
Expand Up @@ -49,7 +49,7 @@ def test_gather_normal(self):
obj_ids = harvester.gather_stage(job)

assert job.gather_errors == []
assert type(obj_ids) == list
assert isinstance(obj_ids, list)
assert len(obj_ids) == len(mock_ckan.DATASETS)
harvest_object = harvest_model.HarvestObject.get(obj_ids[0])
assert harvest_object.guid == mock_ckan.DATASETS[0]['id']
Expand Down

0 comments on commit 227f240

Please sign in to comment.