コード例 #1
0
 def setUp(self):
     super(TestTasks, self).setUp()
     TestTasks.create_index(FakeDjangoMappingType.get_index())
     reset_model_cache()
コード例 #2
0
 def tearDown(self):
     super(IndexableTest, self).tearDown()
     IndexableTest.cleanup_index(FakeDjangoMappingType.get_index())
     reset_model_cache()
コード例 #3
0
ファイル: test_tasks.py プロジェクト: HonzaKral/elasticutils
 def setUp(self):
     super(TestTasks, self).setUp()
     TestTasks.create_index(FakeDjangoMappingType.get_index())
     reset_model_cache()
コード例 #4
0
 def tearDown(self):
     super(IndexableTest, self).tearDown()
     IndexableTest.cleanup_index(FakeDjangoMappingType.get_index())
     reset_model_cache()