def check_dependencies(self): check_bin_dependency("python2") check_bin_dependency("asciidoc")
def check_dependencies(self): check_bin_dependency("asciidoctor")
def assert_xml(xml_file): """Validate a XML file """ check_bin_dependency("xmllint") shell("xmllint --noout {0}".format(xml_file))