Skip to content

Commit cb6bdfe

Browse files
committed
fix: redundant list
1 parent 6e21db5 commit cb6bdfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_backup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ def test_backup_download_with_pathlike(tmp_path: Path) -> None:
8585
def test_backup_create() -> None:
8686
client = SeaDexBackup(email, password) # type: ignore
8787
new_backup = client.create(Path(f"{uuid4()}-made-by-pytest.zip"))
88-
assert new_backup in [backup for backup in client.backups]
88+
assert new_backup in client.backups
8989
client.delete(new_backup)
90-
assert new_backup not in [backup for backup in client.backups]
90+
assert new_backup not in client.backups

0 commit comments

Comments
 (0)