예제 #1
0
파일: home.py 프로젝트: UAVE6MN/vkviewer
 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, {})
예제 #2
0
파일: home.py 프로젝트: JSchwzr/vkviewer
 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,{})
예제 #3
0
파일: home.py 프로젝트: UAVE6MN/vkviewer
 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, {})
예제 #4
0
파일: home.py 프로젝트: JSchwzr/vkviewer
 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,{})