home · contact · privacy
Refactor BaseModel.from_table_row testing.
[plomtask] / tests / conditions.py
index 5270812a41e9f7fc369a426876fe316b349e34b7..afb1841e9a6c230a64f66c9144169999e70da372 100644 (file)
@@ -19,9 +19,9 @@ class TestsWithDB(TestCaseWithDB):
     default_init_kwargs = {'is_active': False}
     test_versioneds = {'title': str, 'description': str}
 
-    def test_Condition_from_table_row(self) -> None:
+    def test_from_table_row(self) -> None:
         """Test .from_table_row() properly reads in class from DB"""
-        self.check_from_table_row()
+        super().test_from_table_row()
         self.check_versioned_from_table_row('title', str)
         self.check_versioned_from_table_row('description', str)