title: TypeError: __init__() got an unexpected keyword argument 'as_tuple'
body: <p>While I am testing my API I recently started to get the error below.</p>
  <pre><code>        if request is None:
  &gt;           builder = EnvironBuilder(*args, **kwargs)
  E           TypeError: __init__() got an unexpected keyword argument 'as_tuple'
  
  /usr/local/lib/python3.7/site-packages/werkzeug/test.py:1081: TypeError
  </code></pre>
  <p>As I read from the documentation in the newer version of <code>Werkzeug</code> the <code>as_tuple</code> parameter is removed.</p>
  <p>Part of my test code is</p>
  <pre class="lang-py prettyprint-override"><code>
  from flask.testing import FlaskClient
  
  @pytest.fixture(name='test_client')
  def _test_client() -&gt; FlaskClient:
      app = create_app()
      return app.test_client()
  
  
  class TestPeerscoutAPI:
      def test_should_have_access_for_status_page(self, test_client: FlaskClient):
          response = test_client.get('/api/status')
          assert _get_ok_json(response) == {&quot;status&quot;: &quot;OK&quot;}
  </code></pre>
  <p>Any help would be greatly appreciated.</p>