** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1197670
Title:
unit test for ryu-agent is broken
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
The following error happens:
Traceback (most recent call last):
File "/opt/stack/quantum/quantum/tests/unit/ryu/test_ryu_agent.py", line
506, in test_get_ip_ip
self.assertEqual(ip, '1.2.3.4')
File
"/opt/stack/quantum/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
line 322, in assertEqual
self.assertThat(observed, matcher, message)
File
"/opt/stack/quantum/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py",
line 417, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: <MagicMock name='cfg.CONF.OVS.cfg_ip' id='75799184'> !=
'1.2.3.4'
And there are invalid assertions in test_ryu_agent.py.
'assert_calls' is a typo of 'assert_has_calls'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1197670/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp