mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Generate new config for each test. Fixes tests.
This commit is contained in:
1 parent
30ebae207f
commit
1b5a5de4bc
9 files changed
+18
-21
No files matched your search
@@ -95,7 +95,6 @@ async def test_restore(project, controller, config):
|
||||
assert len(project.nodes) == 2
|
||||
|
||||
controller._notification = MagicMock()
|
||||
config.settings.Server.local = True
|
||||
await snapshot.restore()
|
||||
|
||||
assert "snapshot.restored" in [c[0][0] for c in controller.notification.project_emit.call_args_list]
|
||||
|
||||
Reference in new issue
Block a user