Skip to content

Commit

Permalink
[hotfix] fixing the build (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Jun 10, 2016
1 parent 2f60801 commit 55baab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion caravel/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def reassignments(self):

def get_url(self, **kwargs):
"""Returns the URL for the viz"""
d = self.form_data.copy()
d = self.orig_form_data.copy()
if 'json' in d:
del d['json']
if 'action' in d:
Expand Down
3 changes: 2 additions & 1 deletion tests/core_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import doctest
import json
import imp
import logging
import os
import unittest
from mock import Mock, patch
Expand Down Expand Up @@ -149,7 +150,7 @@ def test_slices(self):
(slc.slice_name, 'csv_endpoint', slc.viz.csv_endpoint),
]
for name, method, url in urls:
print("[name]/[{method}]: {url}".format(**locals()))
logging.info("[{name}]/[{method}]: {url}".format(**locals()))
self.client.get(url)

def test_dashboard(self):
Expand Down

0 comments on commit 55baab4

Please sign in to comment.