57
61
deploy.check_bootstrapped()
59
63
def test_install_deployer(self):
60
65
with mock.patch.dict('os.environ', {'PYTHONPATH': ''}):
63
67
self.assertTrue(os.path.exists(os.path.join(deployer_dir, '.bzr')))
65
69
deployer_script = os.path.join(deployer_dir, 'juju-deployer')
66
70
self.assertTrue(os.access(deployer_script, os.X_OK))
67
71
self.assertTrue(os.path.exists(deployer_script))