1 2if __name__ == '__main__': 3 import sys, os, distutils.util 4 build_lib = 'build/lib' 5 build_lib_ext = os.path.join('build', 'lib.{}-{}.{}'.format(distutils.util.get_platform(), *sys.version_info)) 6 sys.path.insert(0, build_lib) 7 sys.path.insert(0, build_lib_ext) 8 import test_yaml, test_appliance 9 test_appliance.run(test_yaml) 10 11