Пример #1
0
 def testUsingTestData(self):
     """Test action_from_string() using test data"""
     new_action = saml.action_from_string(saml2_data.TEST_ACTION)
     assert new_action.namespace == "http://www.example.com/Namespace"
Пример #2
0
 def testAccessors(self):
     """Test for Action accessors"""
     self.action.namespace = "http://www.example.com/Namespace"
     new_action = saml.action_from_string(self.action.to_string())
     assert new_action.namespace == "http://www.example.com/Namespace"