コード例 #1
0
ファイル: test_xml.py プロジェクト: jvrsantacruz/matchers
 def test_xml_document_encoding_consistency_just_works(self):
     assert_that(self.document_consistent, is_(xml_document()))
コード例 #2
0
ファイル: test_xml.py プロジェクト: jvrsantacruz/matchers
 def test_xml_document_extra_matcher_works(self):
     assert_that(self.document, is_(xml_document(is_(instance_of(type(self.dom))))))
コード例 #3
0
ファイル: test_xml.py プロジェクト: jvrsantacruz/matchers
 def test_xml_document_encoding_inconsistence_does_not_trigger_exceptions(self):
     assert_that(self.document_inconsistent, is_(xml_document()))
コード例 #4
0
ファイル: test_xml.py プロジェクト: jvrsantacruz/matchers
 def test_xml_document(self):
     assert_that(self.document, is_(xml_document()))