Revision 409371de kamaki/clients/tests/astakos.py

b/kamaki/clients/tests/astakos.py
42 42
            self['astakos', 'token'])
43 43

  
44 44
    def test_authenticate(self):
45
        self._test_authenticate()
45
        self._test_0010_authenticate()
46 46

  
47
    def _test_authenticate(self):
47
    def _test_0010_authenticate(self):
48 48
        r = self.client.authenticate()
49 49
        for term in (
50 50
            'name',
......
57 57
            self.assertTrue(term in r)
58 58

  
59 59
    def test_get(self):
60
        self._test_get()
60
        self._test_0020_get()
61 61

  
62
    def _test_get(self):
62
    def _test_0020_get(self):
63 63
        for term in (
64 64
            'uuid',
65 65
            'name',
......
69 69

  
70 70
    def test_list(self):
71 71
        self.client.authenticate()
72
        self._test_list()
72
        self._test_0020_list()
73 73

  
74
    def _test_list(self):
74
    def _test_0020_list(self):
75 75
        terms = set(['name', 'username', 'uuid', 'email'])
76 76
        uuid = 0
77 77
        for r in self.client.list():
78
            print('Hum?')
79 78
            self.assertTrue(terms.issubset(r.keys()))
80 79
            self.assertTrue(uuid != r['uuid'] if uuid else True)
81 80
            uuid = r['uuid']

Also available in: Unified diff