Dynamic time granularity on any datetime column

This commit is contained in:
Maxime Beauchemin
2016-03-14 21:51:35 -07:00
parent 2aa0e0dce0
commit 27fb810dd7
24 changed files with 345 additions and 295 deletions

View File

@@ -5,6 +5,7 @@ import unittest
os.environ['PANORAMIX_CONFIG'] = 'tests.panoramix_test_config'
from flask.ext.testing import LiveServerTestCase, TestCase
import panoramix
from panoramix import app, db, models, utils
BASE_DIR = app.config.get("BASE_DIR")
cli = imp.load_source('cli', BASE_DIR + "/bin/panoramix")
@@ -21,7 +22,7 @@ class LiveTest(TestCase):
pass
def test_init(self):
utils.init()
utils.init(panoramix)
def test_load_examples(self):
cli.load_examples(sample=True)