Beispiel #1
0
def setup():
    annotator.create_app()
    try:
        annotator.drop_all()
    except pyes.exceptions.ElasticSearchException:
        pass
Beispiel #2
0
 def teardown(self):
     self.ctx.pop()
     annotator.drop_all()