Permalink
Browse files

bug fix: return success: False in fake ckan

task_status_show
  • Loading branch information...
1 parent 865a56c commit 6e9e370308ebcce56e71493c24bffa9fe56a556a @johnglover johnglover committed Nov 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/fake_ckan.py
View
@@ -23,7 +23,7 @@ def task_status_update():
def task_status_show():
# resource_score in task.py is just checking for a 'openness_score_failure_count'
# key, but will default to 0 if it doesn't exist
- return jsonify({'result': {}})
+ return jsonify({'success': False})
@app.route("/api/action/resource_update", methods=['GET', 'POST'])
def resource_update():

0 comments on commit 6e9e370

Please sign in to comment.