def METHOD_NAME(self, tmpdir):
    ml = MapLocal()
    with taddons.context(ml) as tctx:
        tmpfile = tmpdir.join("foo.jpg")
        tmpfile.write("foo")
        tctx.configure(ml, map_local=["|//example.org/images|" + str(tmpfile)])
        f = tflow.tflow()
        f.request.url = b"https://example.org/images/foo.jpg"
        f.kill()
        ml.request(f)
        assert not f.response