def test_list_servers(self): servers = righteous.list_servers() assert 'servers' in servers self.delete_server = False
def list(arguments): initialise(arguments) servers = righteous.list_servers() print_running_servers(servers, exclude_states=[])
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')
def test_list_servers(self): servers = righteous.list_servers() self.assertTrue('servers' in servers) self.delete_server = False