def testGetIndexPage_withWelcomePage_1(self): params = {'welcomepage': 'on'} request = testing.DummyRequest(params=params, cookies=params) result = get_index_page(request) print "Test: testGetIndexPage_withWelcomePage_1 - result: %s for params: %s" % ( result, params) self.assertEqual(result, {})
def testGetIndexPage_withWelcomePage_1(self): params = {'welcomepage':'on'} request = testing.DummyRequest(params=params, cookies=params) result = get_index_page(request) print "Test: testGetIndexPage_withWelcomePage_1 - result: %s for params: %s"%(result, params) self.assertEqual(result,{})
def testGetIndexPage_withWelcomePage_2(self): request = testing.DummyRequest() result = get_index_page(request) print "Test: testGetIndexPage_withWelcomePage_2 - result: %s for no params." % result self.assertEqual(result, {})
def testGetIndexPage_withWelcomePage_2(self): request = testing.DummyRequest() result = get_index_page(request) print "Test: testGetIndexPage_withWelcomePage_2 - result: %s for no params."%result self.assertEqual(result,{})