Add tests
This commit is contained in:
parent
d8794bb35e
commit
9912ead516
3 changed files with 12 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ def test_get(init_config):
|
|||
assert config.get(ConfigParameter.HTTP_HOST) == ""
|
||||
assert config.get(ConfigParameter.HTTP_PORT) == str(EXPECTED_HTTP_PORT)
|
||||
assert config.get_int(ConfigParameter.HTTP_PORT) == EXPECTED_HTTP_PORT
|
||||
with pytest.raises(AssertionError):
|
||||
with pytest.raises(AssertionError):
|
||||
config.get_bool(ConfigParameter.DB_SQLITE_FILE)
|
||||
|
||||
def test_put(init_config):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue