@pytest.fixture
def client(request):
    '\n    Definges the client object to make requests against\n    '
    (db_fd, app.APP.config['DATABASE']) = tempfile.mkstemp()
    app.APP.config['TESTING'] = True
    client = app.APP.test_client()

    def teardown():
        '\n        Close the client once testing has completed\n        '
        os.close(db_fd)
        os.unlink(app.APP.config['DATABASE'])
    request.addfinalizer(teardown)
    return client
Definges the client object to make requests against
@pytest.fixture
def client(request):
    '\n    \n    '
    (db_fd, app.APP.config['DATABASE']) = tempfile.mkstemp()
    app.APP.config['TESTING'] = True
    client = app.APP.test_client()

    def teardown():
        '\n        Close the client once testing has completed\n        '
        os.close(db_fd)
        os.unlink(app.APP.config['DATABASE'])
    request.addfinalizer(teardown)
    return client