def teardown(application): shutdown()
def pytest_funcarg__solr_server(request): def setup(): up('solr') waitforports(8983) # wait for Solr to start up return request.cached_setup(setup=setup, teardown=lambda solr: shutdown(), scope='session')
def teardown(application): shutdown()