def test_command_init_verifier_serverspec(temp_dir): d = os.path.join(temp_dir, 'command-test-serverspec') sh.molecule('init', '--role', 'command-test-serverspec', '--driver', 'docker', '--verifier', 'serverspec') os.chdir(d) sh.bundle('install') sh.molecule('test')
def gearbox_ruby_dist(): sh.gem('install', 'bundler') sh.bundle('install', '--deployment') create_gearbox_dir() cmd = ["rsync", "-arv", "Gemfile", "Gemfile.lock", ".bundle", "bin", "vendor", "lib", "Rakefile", "gearbox/"] subprocess.call(cmd)