From 9132ba8d0585fe04c76ce962f638a715b2153e9c Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 28 Feb 2019 23:25:05 +0700 Subject: [PATCH] Remove zipstream from tests. --- tests/controller/test_project.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/controller/test_project.py b/tests/controller/test_project.py index 28293cb3..ac4f7256 100644 --- a/tests/controller/test_project.py +++ b/tests/controller/test_project.py @@ -531,15 +531,6 @@ def test_duplicate(project, async_run, controller): assert list(new_project.nodes.values())[1].compute.id == "remote" -def test_duplicate_with_zipfile_encoding_issues(project, async_run, controller): - zf = zipstream.ZipFile() - zf.writestr('test\udcc3', "data") - - with asyncio_patch('gns3server.controller.project.export_project', return_value=zf): - with pytest.raises(aiohttp.web.HTTPConflict): - async_run(project.duplicate(name="Hello")) - - def test_snapshots(project): """ List the snapshots