Massive HTML returned when running tests encounters Exception

Bug #1426340 reported by Maciej Kwiek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Low
Fuel Python (Deprecated)

Bug Description

To replicate:
add
import bogus_package_that_does_not_exist
or
raise Exception('Exception message')
to the start of content_json function in nailgun/nailgun/api/v1/handlers/base.py

Run the test which uses it, for example
./run_tests.sh -t nailgun/nailgun/test/integration/test_notification.py::TestNotification::test_notification_node_discover

You should get lot of HTML in your console instead of a traceback string.

summary: - Massive HTML returned when running tests encounters ImportError
+ Massive HTML returned when running tests encounters Exception
Stanislav Makar (smakar)
Changed in fuel:
milestone: none → 6.1
assignee: nobody → Fuel Python Team (fuel-python)
Revision history for this message
Maciej Kwiek (maciej-iai) wrote :

It doesn't make sense to do it now, when pecan rewrite is in progress. We should work on it after web.py is replaced with pecan.

description: updated
Changed in fuel:
importance: Undecided → Low
Revision history for this message
Nikolay Markov (nmarkov) wrote :

Should be already fixed by https://review.openstack.org/#/c/153608/

Changed in fuel:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.