home · contact · privacy
Split BaseModel.by_id into .by_id and by_id_or_create, refactor tests.
[plomtask] / tests / conditions.py
index 562dcd9ae01c5c681f11497b7db51247d4e6272c..969942b17e9ce0141168fd4ddad4361e6a525757 100644 (file)
@@ -25,10 +25,6 @@ class TestsWithDB(TestCaseWithDB):
         self.check_versioned_from_table_row('title', str)
         self.check_versioned_from_table_row('description', str)
 
-    def test_Condition_by_id(self) -> None:
-        """Test .by_id(), including creation."""
-        self.check_by_id()
-
     def test_Condition_versioned_attributes_singularity(self) -> None:
         """Test behavior of VersionedAttributes on saving (with .title)."""
         self.check_versioned_singularity()