Exemplo n.º 1
0
 def test_author_detail(self):
     self.author = AuthorFactory()
     self.assert_page_loads(self.author.get_absolute_url(), "masthead/author_detail.html")
Exemplo n.º 2
0
 def test_author_detail(self):
     self.author = AuthorFactory()
     self.assert_page_loads(self.author.get_absolute_url(),
                            'masthead/author_detail.html')
Exemplo n.º 3
0
class MastheadTests(SiteTestHelper, TestCase):
    def test_author_detail(self):
        self.author = AuthorFactory()
        self.assert_page_loads(self.author.get_absolute_url(), "masthead/author_detail.html")
Exemplo n.º 4
0
class MastheadTests(SiteTestHelper, TestCase):
    def test_author_detail(self):
        self.author = AuthorFactory()
        self.assert_page_loads(self.author.get_absolute_url(),
                               'masthead/author_detail.html')