mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
style: use not-in membership tests
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -413,4 +413,4 @@ async def test_export_with_ignoring_snapshots(tmpdir, project):
|
||||
await write_file(str(tmpdir / "zipfile.zip"), z)
|
||||
|
||||
with zipfile.ZipFile(str(tmpdir / "zipfile.zip")) as myzip:
|
||||
assert not os.path.join("snapshots", "snap.gns3project") in [f.filename for f in myzip.filelist]
|
||||
assert os.path.join("snapshots", "snap.gns3project") not in [f.filename for f in myzip.filelist]
|
||||
Reference in new issue
Block a user