[hotfix] fixing the build (#594)

This commit is contained in:
Maxime Beauchemin 2016-06-09 22:58:20 -07:00 committed by GitHub
parent 2f60801059
commit 55baab413a
2 changed files with 3 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class BaseViz(object):
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:

View File

@ -8,6 +8,7 @@ from datetime import datetime
import doctest
import json
import imp
import logging
import os
import unittest
from mock import Mock, patch
@ -149,7 +150,7 @@ class CoreTests(CaravelTestCase):
(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):