Package ndg :: Package saml :: Package test :: Module test_saml :: Class SAMLTestCase
[hide private]

Class SAMLTestCase

source code


Test SAML implementation for use with CMIP5 federation

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
_createAttributeAssertionHelper(self) source code
 
test01CreateAssertion(self) source code
 
test02ParseAssertion(self) source code
 
test03CreateAttributeQuery(self) source code
 
test04ParseAttributeQuery(self) source code
 
_createAttributeQueryResponse(self) source code
 
test05CreateAttributeQueryResponse(self) source code
 
_createAuthzDecisionQuery(self) source code
 
test06CreateAuthzDecisionQuery(self) source code
 
test07SerializeAuthzDecisionQuery(self) source code
 
test08DeserializeAuthzDecisionQuery(self) source code
 
_createAuthzDecisionQueryResponse(self)
Helper method for Authz Decision Response
source code
 
test09CreateAuthzDecisionQueryResponse(self) source code
 
_serializeAuthzDecisionQueryResponse(self) source code
 
test10SerializeAuthzDecisionQueryResponse(self) source code
 
test11DeserializeAuthzDecisionResponse(self) source code
 
test12PickleAssertion(self) source code
 
test13PickleAttributeQuery(self) source code
 
test14PickleAttributeQueryResponse(self) source code
 
test15PickleAuthzDecisionQuery(self) source code
 
test16PickleAuthzDecisionResponse(self) source code
 
test17SAMLDatetime(self) 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, setUp, 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

Class Variables [hide private]
  NAMEID_FORMAT = 'urn:esg:openid'
  NAMEID_VALUE = 'https://openid.localhost/philip.kershaw'
  ISSUER_DN = '/O=NDG/OU=BADC/CN=attributeauthority.badc.rl.ac.uk'
  UNCORRECTED_RESOURCE_URI = 'http://LOCALHOST:80/My Secured URI'
  RESOURCE_URI = 'http://localhost/My%20Secured%20URI'

Inherited from unittest.case.TestCase: longMessage, maxDiff

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

Properties [hide private]

Inherited from object: __class__