home · contact · privacy
Split BaseModel.by_id into .by_id and by_id_or_create, refactor tests.
[plomtask] / tests / conditions.py
index afb1841e9a6c230a64f66c9144169999e70da372..969942b17e9ce0141168fd4ddad4361e6a525757 100644 (file)
@@ -25,18 +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_all(self) -> None:
-        """Test .all()."""
-        self.check_all()
-
-    def test_Condition_singularity(self) -> None:
-        """Test pointers made for single object keep pointing to it."""
-        self.check_singularity('is_active', True)
-
     def test_Condition_versioned_attributes_singularity(self) -> None:
         """Test behavior of VersionedAttributes on saving (with .title)."""
         self.check_versioned_singularity()