mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 20:59:56 -05:00
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:
parent
77ad52473a
commit
d34301a085
26 changed files with 796 additions and 682 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue