def test_static_page_many(self): from views import asean self.assertTrue(type(asean(None)) == HttpResponse) self.assertTrue(type(asean(None).content) == str) from views import bnpparibas self.assertTrue(type(bnpparibas(None)) == HttpResponse) self.assertTrue(type(bnpparibas(None).content) == str) from views import chinamaritime self.assertTrue(type(chinamaritime(None)) == HttpResponse) self.assertTrue(type(chinamaritime(None).content) == str) from views import humantrafficking self.assertTrue(type(humantrafficking(None)) == HttpResponse) self.assertTrue(type(humantrafficking(None).content) == str) from views import johnkerry self.assertTrue(type(johnkerry(None)) == HttpResponse) self.assertTrue(type(johnkerry(None).content) == str) from views import mohamedmorsi self.assertTrue(type(mohamedmorsi(None)) == HttpResponse) self.assertTrue(type(mohamedmorsi(None).content) == str) from views import northkorea self.assertTrue(type(northkorea(None)) == HttpResponse) self.assertTrue(type(northkorea(None).content) == str) from views import polaris self.assertTrue(type(polaris(None)) == HttpResponse) self.assertTrue(type(polaris(None).content) == str) from views import rickymartin self.assertTrue(type(rickymartin(None)) == HttpResponse) self.assertTrue(type(rickymartin(None).content) == str)
def test_static_page(self): from views import johnkerry self.assertTrue(type(johnkerry(None)) == HttpResponse) self.assertTrue(type(johnkerry(None).content) == str) self.assertTrue(johnkerry(None).content[0:4] == '{% l')