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