better repeat error parsing
This commit is contained in:
1 parent
f8f6d74d6a
commit
9184d1f7bd
8 files changed
+65
-31
No files matched your search
@@ -60,7 +60,7 @@ class db_tests(TestWithDB):
|
||||
configuration_key="automation",
|
||||
),
|
||||
]
|
||||
with self.assertRaises(DBDataError):
|
||||
with self.assertRaises(DBDataError) as err:
|
||||
self.db.insert_automations(originals)
|
||||
autos = list(self.db.list_automations(0, 10))
|
||||
self.assertEqual(len(autos), 0)
|
||||
Reference in new issue
Block a user