fix: correct misleading test name in test_plantnet
This commit is contained in:
parent
b884852f05
commit
a2da8e6457
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = ''
|
settings.PLANTNET_API_KEY = ''
|
||||||
with pytest.raises(PlantNetError, match='API key'):
|
with pytest.raises(PlantNetError, match='API key'):
|
||||||
identify([(b'fake', 'flower')])
|
identify([(b'fake', 'flower')])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue