From 58cf210e966b27fa13ad46af71c42393ce4c5e23 Mon Sep 17 00:00:00 2001 From: Andy Eschbacher Date: Wed, 23 Mar 2016 12:37:23 -0400 Subject: [PATCH] fixes test to acomm markov --- src/py/crankshaft/test/test_clustering_moran.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/py/crankshaft/test/test_clustering_moran.py b/src/py/crankshaft/test/test_clustering_moran.py index 6a9107a..4c06594 100644 --- a/src/py/crankshaft/test/test_clustering_moran.py +++ b/src/py/crankshaft/test/test_clustering_moran.py @@ -41,17 +41,17 @@ class MoranTest(unittest.TestCase): def test_query_attr_select(self): """Test query_attr_select.""" - ans = "i.\"{attr1}\"::numeric As attr1, " \ - "i.\"{attr2}\"::numeric As attr2, " + ans = "i.\"andy\"::numeric As attr1, " \ + "i.\"jay_z\"::numeric As attr2, " self.assertEqual(cc.query_attr_select(self.params), ans) def test_query_attr_where(self): """Test query_attr_where.""" - ans = "idx_replace.\"{attr1}\" IS NOT NULL AND "\ - "idx_replace.\"{attr2}\" IS NOT NULL AND "\ - "idx_replace.\"{attr2}\" <> 0" + ans = "idx_replace.\"andy\" IS NOT NULL AND "\ + "idx_replace.\"jay_z\" IS NOT NULL AND "\ + "idx_replace.\"jay_z\" <> 0" self.assertEqual(cc.query_attr_where(self.params), ans)