home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor BaseModel.from_table_row testing.
[plomtask]
/
tests
/
days.py
diff --git
a/tests/days.py
b/tests/days.py
index 901667f4c6e0276a2800bf4b21b15b03a17be2fb..e4c9de53b0576f685a968a4b7682749c5fe1a7f5 100644
(file)
--- a/
tests/days.py
+++ b/
tests/days.py
@@
-53,10
+53,6
@@
class TestsWithDB(TestCaseWithDB):
kwargs = {'date': self.default_ids[0], 'comment': 'foo'}
self.check_saving_and_caching(**kwargs)
kwargs = {'date': self.default_ids[0], 'comment': 'foo'}
self.check_saving_and_caching(**kwargs)
- def test_Day_from_table_row(self) -> None:
- """Test .from_table_row() properly reads in class from DB"""
- self.check_from_table_row()
-
def test_Day_by_id(self) -> None:
"""Test .by_id()."""
self.check_by_id()
def test_Day_by_id(self) -> None:
"""Test .by_id()."""
self.check_by_id()