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