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"
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"