Example #1
0
 def test_author_detail(self):
     self.author = AuthorFactory()
     self.assert_page_loads(self.author.get_absolute_url(), "masthead/author_detail.html")
Example #2
0
 def test_author_detail(self):
     self.author = AuthorFactory()
     self.assert_page_loads(self.author.get_absolute_url(),
                            'masthead/author_detail.html')
Example #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")
Example #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')