Kevin Conway
57a10aac00
Fix faulty 404 errors when requesting bad versions
The problem came down to the `_dispatch` method of the openstack common wsgi router object. When a match was not found it returned a webob 404 exception directly rather than allowing it to be wrapped in a serializer. The fix involved extending the `Router` object and reimplementing the `_dispatch()` method to use the `Fault` object that serializes exceptions. Change-Id: I24a590f65ff655b25cfd7d84786df3055af701f1 Fixes: bug #1174960
Trove -------- Trove is Database as a Service for Open Stack. To run all tests and PEP8, run tox, like so: $ tox To quickly run the tests for Python 2.7, run: $ tox -epy27 To generate a coverage report,run: $ tox -ecover (note: on some boxes, the results may not be accurate unless you run it twice) If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run: $ ./bin/start_server Stop the server with: $ ./bin/stop_server
Description
Languages
Python
95%
Shell
4.9%