Serialize alt text of images
This commit is contained in:
parent
39dc0501a5
commit
530198adea
6 changed files with 34 additions and 12 deletions
|
@ -62,7 +62,7 @@ class Book(TestCase):
|
|||
|
||||
def test_get_edition_info(self):
|
||||
''' text slug about an edition '''
|
||||
book = models.Book.object.create(title='Test Edition')
|
||||
book = models.Book.objects.create(title='Test Edition')
|
||||
self.assertEqual(book.edition_info, '')
|
||||
|
||||
book.physical_format = 'worm'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue