self.assertEqual(book.title, "Default Book")
self.assertEqual(book.slug, "default_book")
self.assert_(book.parent is None)
self.assertEqual(book.title, "Default Book")
self.assertEqual(book.slug, "default_book")
self.assert_(book.parent is None)
self.assertEqual(book.fragments.count(), 1)
self.assertEqual(book.fragments.all()[0].text, u'<p class="paragraph">Ala ma kota</p>\n')
self.assertEqual(book.fragments.count(), 1)
self.assertEqual(book.fragments.all()[0].text, u'<p class="paragraph">Ala ma kota</p>\n')