Skip to content

Commit

Permalink
fix cockroach tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vangheem committed Nov 7, 2017
1 parent 0650c82 commit 92a3b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guillotina/tests/test_cockroach.py
Expand Up @@ -11,14 +11,14 @@


async def test_creates_vacuum_task(cockroach_storage):
async with await cockroach_storage as storage:
async with cockroach_storage as storage:
assert storage._vacuum is not None
assert storage._vacuum_task is not None


async def test_vacuum_cleans_orphaned_content(cockroach_storage, dummy_request):
request = dummy_request # noqa
async with await cockroach_storage as storage:
async with cockroach_storage as storage:
tm = TransactionManager(storage)
txn = await tm.begin()

Expand Down

0 comments on commit 92a3b12

Please sign in to comment.