Package ndg :: Package xacml :: Package test :: Package functions :: Module test_custom_function :: Class Test
[hide private]

Class Test

source code

                  object --+        
                           |        
      unittest.case.TestCase --+    
                               |    
context.XacmlContextBaseTestCase --+
                                   |
                                  Test

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test01_01StringUrlencode(self)
Test URL encoding of a string value resulting in a permit decision.
source code
 
test01_02StringUrlencode(self)
Test URL encoding of a string value resulting in a deny decision.
source code
 
test02_01AnyUriUrlencode(self)
Test URL encoding of a URI value resulting in a permit decision.
source code
 
test02_02AnyUriUrlencode(self)
Test URL encoding of a URI value resulting in a deny decision.
source code
 
test03_01StringMd5hex(self)
Test MD5 hex encoding of a string value resulting in a permit decision.
source code
 
test03_02StringMd5hex(self)
Test MD5 hex encoding of a string value resulting in a deny decision.
source code
 
test04_01AnyUriMd5hex(self)
Test MD5 hex encoding of a URI value resulting in a permit decision.
source code
 
test04_02AnyUriMd5hex(self)
Test MD5 hex encoding of a URI value resulting in a deny decision.
source code

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, tearDown

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

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

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Static Methods [hide private]
Class Variables [hide private]
  RESOURCE1_ID = 'http://localhost/resource1'
  RESOURCE2_ID = 'http://localhost/resource2'
  RESOURCE3_ID = 'http://localhost/resource3'
  RESOURCE4_ID = 'http://localhost/resource4'
  RESOURCE5_ID = 'http://localhost/resource5'
  RESOURCE6_ID = 'http://localhost/resource6'
  RESOURCE7_ID = 'http://localhost/resource7'
  RESOURCE8_ID = 'http://localhost/resource8'

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

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.case.TestCase.setUp
(inherited documentation)