Skip to content

Commit

Permalink
Update test_item_error name
Browse files Browse the repository at this point in the history
  • Loading branch information
aguilerapy committed Jan 14, 2021
1 parent 87b7f72 commit d48c1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/extensions/test_kingfisher_process_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def test_item_scraped_file_error(sample, is_sample, ok, tmpdir, caplog):
@pytest_twisted.inlineCallbacks
@pytest.mark.parametrize('sample,is_sample', [(None, False), ('true', True)])
@pytest.mark.parametrize('ok', [True, False])
def test_item_error_file_error(sample, is_sample, ok, tmpdir, caplog):
def test_item_error(sample, is_sample, ok, tmpdir, caplog):
with patch('treq.response._Response.code', new_callable=PropertyMock) as mocked:
mocked.return_value = 200 if ok else 400

Expand Down

0 comments on commit d48c1d6

Please sign in to comment.