test(crypto+db+cli): add master key, crypto, credentials_repo, and CLI tests
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -130,13 +130,14 @@ class TestFreshSchema:
|
||||
assert "default_auth_strategy" in cols_plat
|
||||
cols_cred = _column_names(conn, "credentials")
|
||||
assert "account_id" in cols_cred
|
||||
assert "secret_ciphertext" in cols_cred
|
||||
cur = conn.cursor()
|
||||
cur.execute(
|
||||
"SELECT value FROM _schema_meta WHERE key = ?",
|
||||
("schema_version",),
|
||||
)
|
||||
row = cur.fetchone()
|
||||
assert row is not None and row[0] == "2"
|
||||
assert row is not None and row[0] == "2.1"
|
||||
finally:
|
||||
conn.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user