yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03493
[Bug 1192923] Re: Unexpected methon call in run_test.sh
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1192923
Title:
Unexpected methon call in run_test.sh
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
when running run_tests.sh an exception occurs, but tests still
succeed.
UnexpectedMethodCallError: Unexpected method call pool_health_monitors_get.__call__(<class 'django.http.HttpRequest'>) -> None
Error while checking action permissions.
Traceback (most recent call last):
File "/home/mrunge/work/horizon/horizon/tables/base.py", line 992, in _filter_action
return action._allowed(request, datum) and row_matched
File "/home/mrunge/work/horizon/horizon/tables/actions.py", line 74, in _allowed
return self.allowed(request, datum)
File "/home/mrunge/work/horizon/openstack_dashboard/dashboards/project/loadbalancers/tables.py", line 175, in allowed
_('Failed to retrieve health monitors.'))
File "/home/mrunge/work/horizon/openstack_dashboard/dashboards/project/loadbalancers/tables.py", line 169, in allowed
monitors = api.lbaas.pool_health_monitors_get(request)
File "/usr/lib/python2.7/site-packages/mox.py", line 763, in __call__
return mock_method(*params, **named_params)
File "/usr/lib/python2.7/site-packages/mox.py", line 1000, in __call__
expected_method = self._VerifyMethodCall()
File "/usr/lib/python2.7/site-packages/mox.py", line 1047, in _VerifyMethodCall
expected = self._PopNextMethod()
File "/usr/lib/python2.7/site-packages/mox.py", line 1033, in _PopNextMethod
raise UnexpectedMethodCallError(self, None)
UnexpectedMethodCallError: Unexpected method call pool_health_monitors_get.__call__(<class 'django.http.HttpRequest'>) -> None
................................................................................
That was introduced with this change:
https://review.openstack.org/#/c/27002/12
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1192923/+subscriptions