Add a modification uuid to settings returned by the server

Ref #1949
This commit is contained in:
Julien Duponchelle committed 2017-03-21 13:35:02 +01:00
1 parent 73c31b4b87
commit cc6f4c0510
3 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -195,7 +195,8 @@ def test_import_remote_gns3vm_1_x(controller, controller_config_path, async_run)
def test_settings(controller):
controller._notification = MagicMock()
controller.settings = {"a": 1}
controller._notification.emit.assert_called_with("settings.updated", {"a": 1})
controller._notification.emit.assert_called_with("settings.updated", controller.settings)
assert controller.settings["modification_uuid"] is not None
def test_load_projects(controller, projects_dir, async_run):