#NEWLINE# def setup_method( self , _ ) : #NEWLINE# #INDENT# 'Grab the database file from the *data* directory and configure the\n        app.' #NEWLINE# shutil . copy ( os . path . join ( os . getcwd ( ) , 'tests' , 'data' , 'chinook.sqlite3' ) , self . DB_LOCATION ) #NEWLINE# app . config [ 'SQLALCHEMY_DATABASE_URI' ] = ( 'sqlite:////' + _ . DB_LOCATION ) #NEWLINE# app . config [ 'SANDMAN_SHOW_PKS' ] = False #NEWLINE# app . config [ 'SANDMAN_GENERATE_PKS' ] = False #NEWLINE# app . config [ 'TESTING' ] = True #NEWLINE# self . app = app . test_client ( ) #NEWLINE# from . import models