Merge pull request #4026 from shadycuz/fix/test_config_reload

This commit is contained in:
Gina Häußge authored and GitHub committed 2021-02-22 16:50:08 +01:00
commit ea58ccd9a3
1 file changed
+3
+3
View File
@@ -606,6 +606,9 @@ class TestSettings(unittest.TestCase):
basedir, configfile = paths
settings = octoprint.settings.Settings()
# Make sure the config files last modified time changes
time.sleep(1.0)
self.assertEqual("0.0.0.0", settings.get(["server", "host"]))
# modify yaml file externally