hunk.code_window:     def test_gzip_compression_v1_query(self, hge_ctx):
           url, q, exp_resp = self._get_config(self.dir() + '/v1_query.yaml')
           resp = self._make_post(hge_ctx, url, q, self.gzip_header)
           self._assert_gzip(resp, exp_resp)
       def test_brotli_compression_graphql(self, hge_ctx):
           url, q, exp_resp = self._get_config(self.dir() + '/graphql_query.yaml')
           resp = self._make_post(hge_ctx, url, q, self.brotli_header)
           self._assert_brotli(resp, exp_resp)
       def test_brotli_compression_v1_query(self, hge_ctx):
           url, q, exp_resp = self._get_config(self.dir() + '/v1_query.yaml')
           resp = self._make_post(hge_ctx, url, q, self.brotli_header)
           self._assert_brotli(resp, exp_resp)
  
hunk.labels: keep keep keep keep keep replace replace replace replace replace replace replace replace replace keep
hunk.file_path: server/tests-py/test_compression.py
hunk.type: replace
file: #!/bin/bash
  if [ -z "$TEST_HGE_URL" ] && [ -z "$TEST_X_HASURA_ADMIN_SECRET" ]; then
    echo "ERROR: Please run the test command with the environment variable TEST_HGE_URL"
  else
    ../bin/run $TEST_HGE_URL --admin-secret=$TEST_X_HASURA_ADMIN_SECRET --db=./db.js --overwrite && node verify.js
  fi
  