old_contents: import pytest
  
  from donut import app
  
  @pytest.fixture
  def client():
    # Need to specify a server, since test_client doesn't do that for us.
    app.config['SERVER_NAME'] = "127.0.0.1"
  
    # Establish an application context before running the tests.
    ctx = app.app_context()
    ctx.push()
  
    return app.test_client()
  
new_contents: import pytest
  
  import donut
  from donut import app
  
  @pytest.fixture
  def client():
    donut.init("test")
    # Need to specify a server, since test_client doesn't do that for us.
    app.config["SERVER_NAME"] = "127.0.0.1"
  
    # Establish an application context before running the tests.
    ctx = app.app_context()
    ctx.push()
  
    return app.test_client()
  
subject: Update fixtures.py to use test configuration.