mirror of
https://github.com/enpaul/keyosk.git
synced 2025-09-18 21:51:57 +00:00
Revert "Refactor datatypes into submodules"
This reverts commit 07828f0063
.
This commit is contained in:
@@ -5,6 +5,7 @@ import toml
|
||||
|
||||
from keyosk import config
|
||||
from keyosk import constants
|
||||
from keyosk import datatypes
|
||||
|
||||
|
||||
DEMO_CONFIG = {
|
||||
@@ -38,7 +39,7 @@ def test_roundtrip():
|
||||
|
||||
def test_settings():
|
||||
loaded = config.ConfigSerializer().load(DEMO_CONFIG)
|
||||
assert loaded.storage.backend == config.StorageBackend.MARIA
|
||||
assert loaded.storage.backend == datatypes.StorageBackend.MARIA
|
||||
assert loaded.storage.sqlite.path == Path(DEMO_CONFIG["storage"]["sqlite"]["path"])
|
||||
assert loaded.storage.sqlite.pragmas == DEMO_CONFIG["storage"]["sqlite"]["pragmas"]
|
||||
for key, value in DEMO_CONFIG["storage"]["maria"].items():
|
||||
|
Reference in New Issue
Block a user