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

Class TestPages

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   TestPages

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Tests for apps using identity need to stop CP/TG after each test to stop the VisitManager thread.
source code
 
test_method(self)
the index method should return a string called now
source code
 
test_indextitle(self)
The indexpage should have the right title
source code
 
test_logintitle(self)
login page should have the right title
source code

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__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 

Tests for apps using identity need to stop CP/TG after each test to stop the VisitManager thread. See http://trac.turbogears.org/turbogears/ticket/1217 for details.

Overrides: unittest.TestCase.tearDown