Package trac :: Package timeline :: Package tests :: Module web_ui :: Class TimelinePermissionsTestCase

Class TimelinePermissionsTestCase

source code

                                     object --+        
                                              |        
                         unittest.case.TestCase --+    
                                                  |    
web.tests.api.RequestHandlerPermissionsTestCaseBase --+
                                                      |
                                                     TimelinePermissionsTestCase

Nested Classes

Inherited from unittest.case.TestCase: failureException

Instance Methods
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test_get_navigation_items_with_timeline_view(self) source code
 
test_get_navigation_items_without_timeline_view(self) source code
 
test_process_request_with_timeline_view(self) source code
 
test_process_request_without_timeline_view(self) source code

Inherited from web.tests.api.RequestHandlerPermissionsTestCaseBase: get_navigation_items, grant_perm, process_request, tearDown

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables
  authz_policy = '[timeline:*]\nuser1 = TIMELINE_VIEW\nuser2 =\n'
hash(x)

Inherited from unittest.case.TestCase: longMessage, maxDiff

Properties

Inherited from object: __class__

Method Details

setUp(self)

source code 
Hook method for setting up the test fixture before exercising it.
Overrides: unittest.case.TestCase.setUp
(inherited documentation)