← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1322262] Re: Exception traces in the test output - console type "FAKE" not supported

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => juno-2

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

Title:
  Exception traces in the test output - console type "FAKE" not
  supported

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When I run the tests today after pulling from master:

  Expected failure.
  Traceback (most recent call last):
    File "/home/jpichon/devel/horizon/openstack_dashboard/dashboards/project/instances/console.py", line 47, in get_console
      console = api_call(request, instance.id)
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/mox.py", line 765, in __call__
      return mock_method(*params, **named_params)
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/mox.py", line 1010, in __call__
      raise expected_method._exception
  ClientException: Expected failure.
  Expected failure.
  Traceback (most recent call last):
    File "/home/jpichon/devel/horizon/openstack_dashboard/dashboards/project/instances/console.py", line 47, in get_console
      console = api_call(request, instance.id)
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/mox.py", line 765, in __call__
      return mock_method(*params, **named_params)
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/mox.py", line 1010, in __call__
      raise expected_method._exception
  ClientException: Expected failure.
  ....Console type "FAKE" not supported.

  The first trace comes from:
  test_get_console_auto_iterate_available (openstack_dashboard.dashboards.project.instances.tests.ConsoleManagerTests) ... Expected failure.

  The "Console type FAKE" comes from:
  test_invalid_console_type_raise_value_error (openstack_dashboard.dashboards.project.instances.tests.ConsoleManagerTests) ... Console type "FAKE" not supported.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1322262/+subscriptions


References