mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 05:21:08 +00:00
NotEqual, not False
This commit is contained in:
parent
9dd2b88054
commit
cbc8ecb4b3
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ class ModelFields(TestCase):
|
||||||
instance.set_field_from_activity(book, mock_activity, overwrite=True)
|
instance.set_field_from_activity(book, mock_activity, overwrite=True)
|
||||||
# new cover
|
# new cover
|
||||||
self.assertIsNotNone(book.cover.name)
|
self.assertIsNotNone(book.cover.name)
|
||||||
self.assertFalse(book.cover.size, cover_size)
|
self.assertNotEqual(book.cover.size, cover_size)
|
||||||
|
|
||||||
def test_datetime_field(self, *_):
|
def test_datetime_field(self, *_):
|
||||||
"""this one is pretty simple, it just has to use isoformat"""
|
"""this one is pretty simple, it just has to use isoformat"""
|
||||||
|
|
Loading…
Reference in a new issue