Fix dynamips tests

This commit is contained in:
Julien Duponchelle 2015-07-03 10:47:30 +02:00
parent 1f116fc992
commit e93f1330b8

View File

@ -150,6 +150,7 @@ def fake_file(tmpdir):
os.chmod(path, stat.S_IREAD)
return path
def test_vms(server, tmpdir, fake_dynamips, fake_file):
with patch("gns3server.modules.Dynamips.get_images_directory", return_value=str(tmpdir), example=True):