mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Remove deleted `close
` method call from test.
This commit is contained in:
parent
eb266f198d
commit
4e7d8fa917
@ -274,12 +274,10 @@ def rethink_dedup_db(request, rethinkdb_servers, captures_db):
|
|||||||
ddb = warcprox.dedup.RethinkDedupDb(rr)
|
ddb = warcprox.dedup.RethinkDedupDb(rr)
|
||||||
|
|
||||||
def fin():
|
def fin():
|
||||||
if rethinkdb_servers:
|
if rethinkdb_servers and not captures_db:
|
||||||
ddb.close()
|
logging.info('dropping rethinkdb database {}'.format(db))
|
||||||
if not captures_db:
|
result = ddb.rr.db_drop(db).run()
|
||||||
logging.info('dropping rethinkdb database {}'.format(db))
|
logging.info("result=%s", result)
|
||||||
result = ddb.rr.db_drop(db).run()
|
|
||||||
logging.info("result=%s", result)
|
|
||||||
request.addfinalizer(fin)
|
request.addfinalizer(fin)
|
||||||
|
|
||||||
return ddb
|
return ddb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user