Exemplo n.º 1
0
 def test_get_org_config(self):
     self.assertRaises(ConfigError, config.get_org_config)
     cfg = config.get_org_config(TEST_ORGANIZATION)
     assert 'aws_access_id' in cfg
     assert 'aws_secret_key' in cfg
     assert 'aws_account_id' in cfg
     assert 'api_keys' in cfg
     assert 'ssh_key' in cfg
     assert 'puppet_ip' in cfg
     assert 'puppet_host' in cfg
     assert 'security_groups' in cfg
     assert 'www_server_name' in cfg
Exemplo n.º 2
0
 def setUp(self):
     self.config = config.get_org_config(TEST_ORGANIZATION)
     pass