source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/attributeauthority/saml/test_samlinterface.py @ 5513

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/attributeauthority/saml/test_samlinterface.py@5513
Revision 5513, 1.2 KB checked in by pjkersha, 11 years ago (diff)

Split SAML unit tests into separate ones for SAML and SAML Attribute Authority interface.

Line 
1"""Attribute Authority SAML Interface unit test package
2
3NERC DataGrid Project
4"""
5__author__ = "P J Kershaw"
6__date__ = "21/07/09"
7__copyright__ = "(C) 2009 Science and Technology Facilities Council"
8__license__ = "BSD - see LICENSE file in top-level directory"
9__contact__ = "Philip.Kershaw@stfc.ac.uk"
10__revision__ = '$Id$'
11import logging
12logging.basicConfig(level=logging.DEBUG)
13   
14from datetime import datetime
15import base64 
16import os
17from uuid import uuid4
18
19from ndg.security.test.unit import BaseTestCase
20
21from ndg.security.common.saml import Assertion, Attribute, AttributeValue, \
22    AttributeStatement, SAMLVersion, XSStringAttributeValue, \
23    XSGroupRoleAttributeValue
24from ndg.security.common.saml.xml import XMLConstants
25from ndg.security.common.saml.xml.etree import AssertionETreeObject, \
26    XSGroupRoleAttributeValueETreeObject
27
28class Request(object):
29    pass
30
31class Response(object):
32    pass
33
34class AttributeQuery(object):
35    pass
36
37
38class SamlAttributeAuthorityInterfaceTestCase(BaseTestCase):
39    """TODO: test SAML Attribute Authority interface"""
40    thisDir = os.path.dirname(os.path.abspath(__file__))
41   
42    def test01(self):
43        pass
44   
45
46if __name__ == "__main__":
47    unittest.main()       
48
Note: See TracBrowser for help on using the repository browser.