mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
parent
4d0cb32bd0
commit
7542b28793
@ -61,11 +61,9 @@ async def write_file(path, z):
|
||||
f.write(chunk)
|
||||
|
||||
|
||||
def test_exportable_files(tmpdir):
|
||||
def test_exportable_files():
|
||||
|
||||
with open(str(tmpdir / "test.file"), "w+") as f:
|
||||
f.write("AAA")
|
||||
assert _is_exportable(str(tmpdir / "test.file"))
|
||||
assert _is_exportable("hello/world")
|
||||
assert not _is_exportable("project-files/tmp")
|
||||
assert not _is_exportable("project-files/test_log.txt")
|
||||
assert not _is_exportable("project-files/test.log")
|
||||
|
Loading…
Reference in New Issue
Block a user