Exemple #1
0
 def test_list_servers(self):
     servers = righteous.list_servers()
     assert 'servers' in servers
     self.delete_server = False
Exemple #2
0
def list(arguments):
    initialise(arguments)
    servers = righteous.list_servers()
    print_running_servers(servers, exclude_states=[])
Exemple #3
0
 def test_list_servers(self):
     righteous.init('user', 'pass', 'account_id', default_deployment_id='foo')
     self.response.content = '{}'
     righteous.list_servers()
     self.request.assert_called_once_with('/deployments/foo.js')
Exemple #4
0
 def test_list_servers(self):
     servers = righteous.list_servers()
     self.assertTrue('servers' in servers)
     self.delete_server = False