1 2import sys, yaml, test_appliance 3 4def main(args=None): 5 collections = [] 6 import test_yaml 7 collections.append(test_yaml) 8 if yaml.__with_libyaml__: 9 import test_yaml_ext 10 collections.append(test_yaml_ext) 11 return test_appliance.run(collections, args) 12 13if __name__ == '__main__': 14 main() 15 16