Fix tests crash on travis

This commit is contained in:
Julien Duponchelle committed 2016-10-25 12:00:17 +02:00
1 parent 59dcdcc141
commit 4fe293f1d5
1 file changed
+3 -1
+3 -1
View File
@@ -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")