From a2da8e64579f348275eba1d34adc18b4a36eae11 Mon Sep 17 00:00:00 2001 From: Stephan Kerkman Date: Sat, 30 May 2026 17:36:47 +0200 Subject: [PATCH] fix: correct misleading test name in test_plantnet --- plants/tests/test_plantnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')])