2015-02-27 13:10:44 |
Maciej Kwiek |
description |
To replicate:
add
import bogus_package_that_does_not_exist
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. |
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. |
|