Skip to content

Commit

Permalink
Fix unit tests for viz without json endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
akuhn committed Sep 30, 2015
1 parent 83d7bf3 commit ad2cc10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions panoramix/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ def get_json(self):
}
return json.dumps(payload)

def get_json_data(self):
return json.dumps([])

class TableViz(BaseViz):
verbose_name = "Table View"
template = 'panoramix/viz_table.html'
Expand Down

0 comments on commit ad2cc10

Please sign in to comment.