mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 15:37:44 +00:00
fix: case-insensitive assertion in test_add_column_idempotent
This commit is contained in:
@@ -1065,7 +1065,7 @@ class TestSchemaMigrationFuzzing:
|
|||||||
c = db.conn.cursor()
|
c = db.conn.cursor()
|
||||||
c.execute("PRAGMA table_info(backtest_runs)")
|
c.execute("PRAGMA table_info(backtest_runs)")
|
||||||
cols = [row[1] for row in c.fetchall()]
|
cols = [row[1] for row in c.fetchall()]
|
||||||
assert cols.count(col_name) == 1
|
assert sum(1 for c in cols if c.lower() == col_name.lower()) == 1
|
||||||
finally:
|
finally:
|
||||||
db.close()
|
db.close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user