Settings: change/fix tests behavior (#2053)

* Settings: disable saving and gui during tests

* Tests: create a fresh host.yaml for TestHostYAML

Now that host.yaml is .gitignored, testing the local host.yaml makes no sense anymore
This commit is contained in:
black-sliver
2023-07-29 18:50:21 +02:00
committed by GitHub
parent a90825eac3
commit 7b8f8918fc
3 changed files with 23 additions and 7 deletions

View File

@@ -1,3 +1,7 @@
import warnings
warnings.simplefilter("always")
import settings
warnings.simplefilter("always")
settings.no_gui = True
settings.skip_autosave = True