From ef5511cccf68b170a71fcbc6b884b84e928dc7f0 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 13 Jan 2016 17:19:12 -0800 Subject: [PATCH] Getting stuff to load --- panoramix/data/__init__.py | 2 +- tests/core_tests.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/panoramix/data/__init__.py b/panoramix/data/__init__.py index ca1159e46c9fc..8e8f25ff18fab 100644 --- a/panoramix/data/__init__.py +++ b/panoramix/data/__init__.py @@ -71,7 +71,7 @@ def load_world_bank_health_n_pop(): tbl.database = get_or_create_db(db.session) db.session.merge(tbl) db.session.commit() - #tbl.fetch_metadata() + tbl.fetch_metadata() defaults = { "compare_lag": "10", diff --git a/tests/core_tests.py b/tests/core_tests.py index 3f9c0b56fe890..e016314cc8407 100644 --- a/tests/core_tests.py +++ b/tests/core_tests.py @@ -28,6 +28,7 @@ def test_load_examples(self): def test_slices(self): Slc = models.Slice for slc in db.session.query(Slc).all(): + print(slc) self.client.get(slc.slice_url) viz = slc.viz self.client.get(viz.get_url())