mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix tests crash on travis
This commit is contained in:
1 file changed
+3
-1
@@ -53,7 +53,9 @@ def test_shutdown_non_local(http_controller, web_server, config):
|
||||
assert not web_server.shutdown_server.called
|
||||
|
||||
|
||||
def test_debug(http_controller, config):
|
||||
def test_debug(http_controller, config, tmpdir):
|
||||
config._main_config_file = str(tmpdir / "test.conf")
|
||||
|
||||
response = http_controller.post('/debug')
|
||||
assert response.status == 201
|
||||
debug_dir = os.path.join(config.config_dir, "debug")
|
||||
|
||||
Reference in new issue
Block a user