コード例 #1
0
ファイル: test_02_saml.py プロジェクト: blenderbox/pysaml2
 def testUsingTestData(self):
     """Test assertion_id_ref_from_string() using test data"""
     new_assertion_id_ref = saml.assertion_id_ref_from_string(saml2_data.TEST_ASSERTION_ID_REF)
     assert new_assertion_id_ref.text.strip() == "zzlieajngjbkjggjldmgindkckkolcblndbghlhm"
コード例 #2
0
ファイル: test_02_saml.py プロジェクト: blenderbox/pysaml2
 def testAccessors(self):
     """Test for AssertionIDRef accessors"""
     self.assertion_id_ref.text = "zzlieajngjbkjggjldmgindkckkolcblndbghlhm"
     new_assertion_id_ref = saml.assertion_id_ref_from_string(self.assertion_id_ref.to_string())
     assert new_assertion_id_ref.text == "zzlieajngjbkjggjldmgindkckkolcblndbghlhm"