Re-enable test_get_models & add test for RefineProject.columns and .wait_until_idle()
This commit is contained in:
parent
316b60b387
commit
8e2f44412f
|
@ -40,8 +40,12 @@ class RefineTest(refinetest.RefineTestCase):
|
||||||
def test_new_project(self):
|
def test_new_project(self):
|
||||||
self.assertTrue(isinstance(self.project, refine.RefineProject))
|
self.assertTrue(isinstance(self.project, refine.RefineProject))
|
||||||
|
|
||||||
def _test_get_models(self):
|
def test_wait_until_idle(self):
|
||||||
|
self.project.wait_until_idle() # should just return
|
||||||
|
|
||||||
|
def test_get_models(self):
|
||||||
self.assertEqual(self.project.key_column, 'email')
|
self.assertEqual(self.project.key_column, 'email')
|
||||||
|
self.assertTrue('email' in self.project.columns)
|
||||||
self.assertTrue('email' in self.project.column_order)
|
self.assertTrue('email' in self.project.column_order)
|
||||||
self.assertEqual(self.project.column_order['name'], 1)
|
self.assertEqual(self.project.column_order['name'], 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue