openstack-health/openstack_health
Tim Buckley 776c0a5683 Fix bad use of jsonify() in _get_data
When no test runs are found in the subunit2sql database we attempt to
return an empty result set in get_test_runs_for_test. However, in the
cached function _get_data() the empty response was wrapped in a
call to jsonify() causing the function to return a Response rather
than a serializable dict.

This patch removes the bad jsonify() call to avoid any serialization
errors for pages with no data.

Change-Id: I49d47bb998593f61fc4b1431d366c4cdd9bb3d2c
2016-08-30 14:36:29 -06:00
..
tests Merge "Add failed runs list to test page" 2016-08-16 15:16:47 +00:00
__init__.py Add python bits to the repo 2015-09-14 19:06:08 -04:00
api.py Fix bad use of jsonify() in _get_data 2016-08-30 14:36:29 -06:00
base_aggregator.py Properly interpolate missing data for test_runs 2015-12-11 17:12:43 -05:00
distributed_dbm.py Fix changed imports in dogpile.cache 0.6.0 2016-06-07 11:52:08 -04:00
run_aggregator.py Enable Python 3 2016-02-24 19:56:46 +00:00
test_run_aggregator.py Fix pandas functions warnings 2016-06-30 17:06:50 +09:00