Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/test_vacuum_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ def leave_plaintext(self, name: str = "broker.db") -> Path:
path: Path = self.workspace / name
con = sqlite3.connect(path)
try:
# Off explicitly: Debian and Ubuntu build SQLite with
# SQLITE_SECURE_DELETE, which zeroes a freed cell and so would clear
# the plaintext this fixture exists to leave behind. CI met that
# when ubuntu-latest became 26.04 and uv took its system Python
# (and so its libsqlite3) over a managed one. The databases the
# command meets in the field were written under no such guarantee.
con.execute("PRAGMA secure_delete = OFF")
con.executescript(PRE_KEYRING)
con.executemany(
"INSERT INTO credentials (username, password, type, pillaged_from)"
Expand Down
13 changes: 7 additions & 6 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.