fix: correct misleading test name in test_plantnet

This commit is contained in:
Stephan Kerkman 2026-05-30 17:36:47 +02:00
parent b884852f05
commit a2da8e6457

View file

@ -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')])