Configs are imported manually in main. Configs now have dump/save/import methods. Configs will refuse to save if they have not been imported.

This commit is contained in:
Roland 2024-09-26 09:13:29 -06:00
parent 77ad52473a
commit d34301a085
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
26 changed files with 796 additions and 682 deletions

View file

@ -102,7 +102,7 @@ def test_seconds_to_import_rpi5(size, expected):
assert lib.seconds_to_import(size, True) == expected
def test_get_custom_map_directory(test_directory, test_config):
def test_get_custom_map_directory(test_directory, test_wrolpi_config):
"""Custom directory can be used for map directory."""
# Default location.
assert lib.get_map_directory() == (test_directory / 'map')