Indeed, fixing the mocks with something like http://paste.ubuntu.com/652496/ make it go a bit further...
Then we hit:
FAIL: test_authorize_revoke_security_group_cidr (nova.tests.test_api.ApiEc2TestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/chuck/work/server/openstack/testing/nova/nova/tests/test_api.py", line 407, in test_authorize_revoke_security_group_cidr self.assertEquals(str(group.rules[0].grants[0]), '0.0.0.0/0') AssertionError: 'None-None' != '0.0.0.0/0' ====================================================================== FAIL: test_authorize_revoke_security_group_cidr_v6 (nova.tests.test_api.ApiEc2TestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/chuck/work/server/openstack/testing/nova/nova/tests/test_api.py", line 470, in test_authorize_revoke_security_group_cidr_v6 self.assertEquals(str(group.rules[0].grants[0]), '::/0') AssertionError: 'None-None' != '::/0'
(full trace at http://pastebin.ubuntu.com/652502/)
Indeed, fixing the mocks with something like http:// paste.ubuntu. com/652496/ make it go a bit further...
Then we hit:
FAIL: test_authorize_ revoke_ security_ group_cidr (nova.tests. test_api. ApiEc2TestCase) ------- ------- ------- ------- ------- ------- ------- ------- ------- chuck/work/ server/ openstack/ testing/ nova/nova/ tests/test_ api.py" , line 407, in test_authorize_ revoke_ security_ group_cidr assertEquals( str(group. rules[0] .grants[ 0]), '0.0.0.0/0') ======= ======= ======= ======= ======= ======= ======= ======= ======= revoke_ security_ group_cidr_ v6 (nova.tests. test_api. ApiEc2TestCase) ------- ------- ------- ------- ------- ------- ------- ------- ------- chuck/work/ server/ openstack/ testing/ nova/nova/ tests/test_ api.py" , line 470, in test_authorize_ revoke_ security_ group_cidr_ v6 assertEquals( str(group. rules[0] .grants[ 0]), '::/0')
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 'None-None' != '0.0.0.0/0'
=======
FAIL: test_authorize_
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 'None-None' != '::/0'
(full trace at http:// pastebin. ubuntu. com/652502/)