Comment 4 for bug 814365

Revision history for this message
Thierry Carrez (ttx) wrote :

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/)