1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00

Revert "Fix tests"

This reverts commit 4d0cb32b
This commit is contained in:
grossmj 2021-03-24 13:05:50 +10:30
parent 4d0cb32bd0
commit 7542b28793

View File

@ -61,11 +61,9 @@ async def write_file(path, z):
f.write(chunk) f.write(chunk)
def test_exportable_files(tmpdir): def test_exportable_files():
with open(str(tmpdir / "test.file"), "w+") as f: assert _is_exportable("hello/world")
f.write("AAA")
assert _is_exportable(str(tmpdir / "test.file"))
assert not _is_exportable("project-files/tmp") assert not _is_exportable("project-files/tmp")
assert not _is_exportable("project-files/test_log.txt") assert not _is_exportable("project-files/test_log.txt")
assert not _is_exportable("project-files/test.log") assert not _is_exportable("project-files/test.log")