home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split BaseModel.by_id into .by_id and by_id_or_create, refactor tests.
[plomtask]
/
tests
/
conditions.py
diff --git
a/tests/conditions.py
b/tests/conditions.py
index fb55e008bdb316669d1fb8abc56304413cd669d2..969942b17e9ce0141168fd4ddad4361e6a525757 100644
(file)
--- a/
tests/conditions.py
+++ b/
tests/conditions.py
@@
-25,14
+25,6
@@
class TestsWithDB(TestCaseWithDB):
self.check_versioned_from_table_row('title', str)
self.check_versioned_from_table_row('description', str)
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_versioned_attributes_singularity(self) -> None:
"""Test behavior of VersionedAttributes on saving (with .title)."""
self.check_versioned_singularity()
def test_Condition_versioned_attributes_singularity(self) -> None:
"""Test behavior of VersionedAttributes on saving (with .title)."""
self.check_versioned_singularity()