# Path: awsshell/db.py
# class ConcurrentDBM(object):
#     def open(cls, filename, create=False):
#     def create(cls, filename):
#     def __init__(self, db):
#     def __getitem__(self, key):
#     def __setitem__(self, key, value):
#     def close(self):


from awsshell import db
import pytest


@pytest.fixture
def shell_db(tmpdir):
    filename = tmpdir.join('docs.db').strpath

# Path: awsshell/db.py
# class ConcurrentDBM(object):
#     def open(cls, filename, create=False):
#     def create(cls, filename):
#     def __init__(self, db):
#     def __getitem__(self, key):
#     def __setitem__(self, key, value):
#     def close(self):


# Path: tests/integration/test_db.py
from awsshell import db
import pytest



@pytest.fixture
def shell_db(tmpdir):
    filename = tmpdir.join('docs.db').strpath

    d = db.ConcurrentDBM.create(filename)