X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/todo?a=blobdiff_plain;f=tests%2Fprocesses.py;h=0f43a4dc5685ba79b690b3d4ae6d1a09955283d6;hb=25b71c6f0b10db05907128daf50c6e543e514c35;hp=d54fe84bb1041f1084fd341803576c99457e1877;hpb=e3bfd84f9061d5f03ec5f5764f75e4137505ea45;p=plomtask diff --git a/tests/processes.py b/tests/processes.py index d54fe84..0f43a4d 100644 --- a/tests/processes.py +++ b/tests/processes.py @@ -182,18 +182,6 @@ class TestsWithDB(TestCaseWithDB): method(self.db_conn, [c1.id_, c2.id_]) self.assertEqual(getattr(p, target), [c1, c2]) - def test_Process_by_id(self) -> None: - """Test .by_id(), including creation""" - self.check_by_id() - - def test_Process_all(self) -> None: - """Test .all().""" - self.check_all() - - def test_Process_singularity(self) -> None: - """Test pointers made for single object keep pointing to it.""" - self.check_singularity('conditions', [Condition(None)]) - def test_Process_versioned_attributes_singularity(self) -> None: """Test behavior of VersionedAttributes on saving (with .title).""" self.check_versioned_singularity() @@ -257,7 +245,7 @@ class TestsWithDBForProcessStep(TestCaseWithDB): p1.set_steps(self.db_conn, [step]) step.remove(self.db_conn) self.assertEqual(p1.explicit_steps, []) - self.check_storage([]) + self.check_identity_with_cache_and_db([]) class TestsWithServer(TestCaseWithServer):