コード例 #1
0
ファイル: tests.py プロジェクト: ehazlett/site_templates
 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
コード例 #2
0
ファイル: tests.py プロジェクト: ehazlett/site_templates
 def setUp(self):
     self.config = config.get_org_config(TEST_ORGANIZATION)
     pass