Skip to content

Commit

Permalink
use hge_key in compression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkky committed Aug 26, 2019
1 parent d66c417 commit 64ed551
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/tests-py/test_compression.py
Expand Up @@ -17,6 +17,8 @@ class TestCompression(DefaultTestSelectQueries):
gzip_brotli_header = {'Accept-Encoding': 'gzip, br'}

def _make_post(self, hge_ctx, u, q, h):
if hge_ctx.hge_key is not None:
h['X-Hasura-Admin-Secret'] = hge_ctx.hge_key
resp = hge_ctx.http.post(
hge_ctx.hge_url + u,
json=q,
Expand Down

0 comments on commit 64ed551

Please sign in to comment.