Revision 12ef696f snf-tools/synnefo_tools/burnin/astakos_tests.py

b/snf-tools/synnefo_tools/burnin/astakos_tests.py
39 39
from kamaki.clients.compute import ComputeClient
40 40
from kamaki.clients import ClientError
41 41

  
42
import common
42
from synnefo_tools.burnin import common
43 43

  
44 44

  
45 45
# Too many public methods (47/20). pylint: disable-msg=R0904
......
48 48
    def test_unauthorized_access(self):
49 49
        """Test access without a valid token fails"""
50 50
        false_token = "12345"
51
        client = ComputeClient(self.compute_url, false_token)
52
        client.CONNECTION_RETRY_LIMIT = self.connection_retry_limit
51
        client = ComputeClient(self.clients.compute_url, false_token)
52
        client.CONNECTION_RETRY_LIMIT = self.clients.retry
53 53

  
54 54
        with self.assertRaises(ClientError) as cl_error:
55 55
            client.list_servers()

Also available in: Unified diff