> python test_jujuclient.py
FF........F.FEE....E
======================================================================
ERROR: test_ha (__main__.HATest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_jujuclient.py", line 304, in test_ha
self.ha.ensure_availability(3)
File "/home/tvansteenburgh/src/python-jujuclient/jujuclient.py", line 1806, in ensure_availability
'EnvironTag': "environment-%s" % self._env_uuid,
AttributeError: 'HA' object has no attribute '_env_uuid'
======================================================================
ERROR: test_key_manager (__main__.KeyManagerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_jujuclient.py", line 111, in test_key_manager
self.verify_keys(['juju-client-key', 'juju-system-key'])
File "test_jujuclient.py", line 96, in verify_keys
keys = self.key.keys(user)['Results'][0]['Result']
AttributeError: 'KeyManagerTest' object has no attribute 'key'
======================================================================
ERROR: test_user_manager (__main__.UserManagerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_jujuclient.py", line 165, in test_user_manager
'created-by': 'admin@local'})
File "test_jujuclient.py", line 149, in assert_user
result = self.um.info(user['username'])
AttributeError: 'UserManager' object has no attribute 'info'
======================================================================
FAIL: test_add_get_charm (__main__.ClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_jujuclient.py", line 352, in test_add_get_charm
self.assertEqual(charm, {})
AssertionError: {u'URL': u'cs:~hazmat/trusty/etcd-6', u'Meta': {u'Peers': {u'cluster': {u'Name': [truncated]... != {}
Diff is 2089 characters long. Set self.maxDiff to None to see it.
Here's the test output using ec2 and 1.23.2:
> python test_jujuclient.py ...F.FEE. ...E ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- t.py", line 304, in test_ha ha.ensure_ availability( 3) tvansteenburgh/ src/python- jujuclient/ jujuclient. py", line 1806, in ensure_availability
FF.....
=======
ERROR: test_ha (__main__.HATest)
-------
Traceback (most recent call last):
File "test_jujuclien
self.
File "/home/
'EnvironTag': "environment-%s" % self._env_uuid,
AttributeError: 'HA' object has no attribute '_env_uuid'
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.KeyManagerTes t) ------- ------- ------- ------- ------- ------- ------- ------- ------- t.py", line 111, in test_key_manager verify_ keys([' juju-client- key', 'juju-system-key']) t.py", line 96, in verify_keys keys(user) ['Results' ][0]['Result' ]
ERROR: test_key_manager (__main_
-------
Traceback (most recent call last):
File "test_jujuclien
self.
File "test_jujuclien
keys = self.key.
AttributeError: 'KeyManagerTest' object has no attribute 'key'
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.UserManagerTe st) ------- ------- ------- ------- ------- ------- ------- ------- ------- t.py", line 165, in test_user_manager t.py", line 149, in assert_user info(user[ 'username' ])
ERROR: test_user_manager (__main_
-------
Traceback (most recent call last):
File "test_jujuclien
'created-by': 'admin@local'})
File "test_jujuclien
result = self.um.
AttributeError: 'UserManager' object has no attribute 'info'
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.ActionTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- t.py", line 274, in test_actions assertEqual( result, []) 01-01T00: 00:00Z' , u'completed': u'0001- 01-01T00: 00:00Z' , u'enqueued': u'0001- 01-01T00: 00:00Z' , u'error': {u'Message': u'id not found', u'Code': u'not found'}}]} != []
FAIL: test_actions (__main_
-------
Traceback (most recent call last):
File "test_jujuclien
self.
AssertionError: {u'results': [{u'started': u'0001-
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.BackupTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- t.py", line 133, in test_backups assertEqual( len(self. bm.list( )['List' ]), 2)
FAIL: test_backups (__main_
-------
Traceback (most recent call last):
File "test_jujuclien
self.
AssertionError: 1 != 2
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.ClientTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- t.py", line 352, in test_add_get_charm assertEqual( charm, {}) trusty/ etcd-6' , u'Meta': {u'Peers': {u'cluster': {u'Name': [truncated]... != {}
FAIL: test_add_get_charm (__main_
-------
Traceback (most recent call last):
File "test_jujuclien
self.
AssertionError: {u'URL': u'cs:~hazmat/
Diff is 2089 characters long. Set self.maxDiff to None to see it.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.ClientTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- t.py", line 346, in test_juju_info ries', 'Name', 'ProviderType', 'UUID'])
FAIL: test_juju_info (__main_
-------
Traceback (most recent call last):
File "test_jujuclien
['DefaultSe
AssertionError: Lists differ: [u'DefaultSeries', u'Name', u'... != ['DefaultSeries', 'Name', 'Pro...
First differing element 3:
ServerUUID
UUID
First list contains 1 additional elements.
First extra element 4:
UUID
- [u'DefaultSeries', u'Name', u'ProviderType', u'ServerUUID', u'UUID']
? - - - ----------------
+ ['DefaultSeries', 'Name', 'ProviderType', 'UUID']
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 20 tests in 115.082s
FAILED (failures=4, errors=3)