Package spammcan :: Package tests :: Module test_controllers :: Class TestPages
[hide private]

Class TestPages

source code

            object --+        
                     |        
     unittest.TestCase --+    
                         |    
turbogears.testutil.TGTest --+
                             |
                            TestPages

Nested Classes [hide private]
  root
The root controller of the application.

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
test_method(self)
The index method should return a string called 'now'
source code
 
test_index_title(self)
"The index page should have the right title.
source code
 
test_login_title(self)
The login page should have the right title.
source code
 
test_login_errors(self)
The login page should display the right errors.
source code
 
test_login_and_logout(self)
Login with correct credentials and then logout.
source code

Inherited from turbogears.testutil.TGTest: login_user, setUp, tearDown

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]

Inherited from turbogears.testutil.TGTest: app, stop_tg_only

Properties [hide private]

Inherited from object: __class__