def fs(name): return aiomongo.GridFS(_db, name)
def test_fs(event_loop, test_db): event_loop.run_until_complete(test_db.drop_collection('fs.files')) event_loop.run_until_complete(test_db.drop_collection('fs.chunks')) return aiomongo.GridFS(test_db)