mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-27 18:40:31 +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)
|
||||
# new cover
|
||||
self.assertIsNotNone(book.cover.name)
|
||||
self.assertFalse(book.cover.size, cover_size)
|
||||
self.assertNotEqual(book.cover.size, cover_size)
|
||||
|
||||
def test_datetime_field(self, *_):
|
||||
"""this one is pretty simple, it just has to use isoformat"""
|
||||
|
|
Loading…
Reference in a new issue