@pytest.fixture
def atc_db_file():
 return tempfile.NamedTemporaryFile(suffix='.db', prefix='atc_')

@ pytest . fixture def atc_db_file ( ) : return tempfile . NamedTemporaryFile ( suffix = '.db' , prefix = 'atc_' )
return a namedtemporyfile for use with testing atcs sqlite db features .