class Dynamic_pages(TestCase):
@patch('faceset.models.Banner')
def test_upmenu(self, MockBanner):
Banner = MockBanner()
response = self.client.get('/upmenu')
self.assertTemplateUsed(response, 'faceset/banner.html')
self.assertTemplateUsed(response, 'faceset/upmenu.html')
self.assertTemplateUsed(response, 'faceset/menu.html')
self.assertTemplateUsed(response, 'faceset/footer.html')