Merge "Python 3: Fix test_security_groups_db"
This commit is contained in:
commit
8452ded4df
@ -23,7 +23,10 @@ class CallbackFailure(Exception):
|
|||||||
self.errors = errors
|
self.errors = errors
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return ','.join(str(error) for error in self.errors)
|
if isinstance(self.errors, list):
|
||||||
|
return ','.join(str(error) for error in self.errors)
|
||||||
|
else:
|
||||||
|
return str(self.errors)
|
||||||
|
|
||||||
|
|
||||||
class NotificationError(object):
|
class NotificationError(object):
|
||||||
|
1
tox.ini
1
tox.ini
@ -160,6 +160,7 @@ commands = python -m testtools.run \
|
|||||||
neutron.tests.unit.db.test_agents_db \
|
neutron.tests.unit.db.test_agents_db \
|
||||||
neutron.tests.unit.db.quota.test_driver \
|
neutron.tests.unit.db.quota.test_driver \
|
||||||
neutron.tests.unit.db.test_dvr_mac_db \
|
neutron.tests.unit.db.test_dvr_mac_db \
|
||||||
|
neutron.tests.unit.db.test_securitygroups_db \
|
||||||
neutron.tests.unit.debug.test_commands \
|
neutron.tests.unit.debug.test_commands \
|
||||||
neutron.tests.unit.tests.test_post_mortem_debug \
|
neutron.tests.unit.tests.test_post_mortem_debug \
|
||||||
neutron.tests.unit.tests.test_base \
|
neutron.tests.unit.tests.test_base \
|
||||||
|
Loading…
Reference in New Issue
Block a user