Beispiel #1
0
 def test_validate_xml_bad(self):
     with open(os.path.join(test_resources, 'bad.xml'), 'r') as f:
         _ = XML.is_it(f)
         assert _ == False
Beispiel #2
0
 def test_validate_xml_bad(self):
     with open(os.path.join(test_resources, 'bad.xml'), 'r') as f:
         _ = XML.is_it(f)
         assert _ == False
Beispiel #3
0
 def test_validate_xml_good(self):
     with open(os.path.join(test_resources, 'good.xml'), 'r') as f:
         _ = XML.is_it(f)
         assert _ == True
Beispiel #4
0
 def test_validate_xml_good(self):
     with open(os.path.join(test_resources, 'good.xml'), 'r') as f:
         _ = XML.is_it(f)
         assert _ == True