def METHOD_NAME(tmpdir):
    # Build WPS object; service has been down for some time so skip caps here
    wps = WebProcessingService('http://localhost', skip_caps=True)
    # Write dummy output file
    out_fn = tmpdir / "output.txt"
    content = 'hi there'
    out_fn.write_text(content, encoding="utf8")
    # Execute fake WPS invocation
    response = open(resource_file('wps_DummyExecuteResponseLocalFile.xml'), 'r').read()
    execution = wps.execute(None, [], response=response.format(tmpdir=str(tmpdir)))
    # Retrieve data from local file system
    out = execution.processOutputs[0]
    txt = out.retrieveData()
    assert txt == content