diff --git a/plants/tests/test_plantnet.py b/plants/tests/test_plantnet.py index 3de7814..c3bc257 100644 --- a/plants/tests/test_plantnet.py +++ b/plants/tests/test_plantnet.py @@ -42,7 +42,7 @@ def _api_results(): ] -def test_identify_returns_empty_without_api_key(settings): +def test_identify_raises_without_api_key(settings): settings.PLANTNET_API_KEY = '' with pytest.raises(PlantNetError, match='API key'): identify([(b'fake', 'flower')])