mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-09-23 14:24:57 -04:00
BE: review fixes
This commit is contained in:
1 parent
7277a07660
commit
52ddd7f9d2
1 file changed
+1
-1
@@ -513,7 +513,7 @@ class TestTriggerDeviceGuidLookup(unittest.TestCase):
|
||||
plan = self.conn.execute(
|
||||
"EXPLAIN QUERY PLAN SELECT * FROM Devices WHERE devGUID = ?", ("guid-a",)
|
||||
).fetchall()
|
||||
plan_text = " ".join(str(row) for row in plan)
|
||||
plan_text = " ".join(str(tuple(row)) for row in plan)
|
||||
|
||||
self.assertIn("idx_dev_guid", plan_text)
|
||||
self.assertNotIn("SCAN Devices", plan_text)
|
||||
|
||||
Reference in new issue
Block a user