def METHOD_NAME(expect, client, monkeypatch):
    monkeypatch.setattr(settings, "DEBUG", True)
    request, response = client.get("/images/fry/test")
    expect(response.text).contains("/images/fry/test.png")