mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-04 22:17:49 +00:00
updated tests & docstrings of LookupLib
This commit is contained in:
parent
644306bea0
commit
4e4e94091d
19 changed files with 329 additions and 137 deletions
|
|
@ -10,12 +10,8 @@ def fixAnyValue(request):
|
|||
|
||||
|
||||
class TestlookupLib:
|
||||
|
||||
def test_construction_without_kwargs(self):
|
||||
"""Load with non without any args & kwargs"""
|
||||
with pytest.raises(APIKeyMissingError):
|
||||
LookupLib()
|
||||
|
||||
|
||||
|
||||
def test_construction_with_invalid_kwargs(self, fixAnyValue):
|
||||
"""Load with non without any args & kwargs"""
|
||||
with pytest.raises(AttributeError):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue