graphql-engine/server/tests-py
nizar-m f83a8e591f rename access-key to admin-secret (close #1347) (#1540)
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.

Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30
..
queries remove wreq and set response timeout (close #1477) (#1501) 2019-02-14 13:07:59 +05:30
webhook/insecure apply update permissions for upsert mutations (#628) 2018-12-15 21:40:29 +05:30
.gitignore gitignore generated .tix files in pytest folder (#924) 2018-10-29 19:55:37 +05:30
conftest.py rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30
context.py rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30
graphql_server.py support union and interface types in remote schema (close #1276) (#1361) 2019-01-28 22:15:10 +05:30
pytest.ini Tests for server with access control, and some more tests (#710) 2018-10-28 23:57:49 +05:30
README.md update multiple files (#943) 2018-11-08 12:02:57 +05:30
requirements.txt implement internal graphql server for remote schema tests (#1117) 2018-11-26 18:38:16 +05:30
super_classes.py Tests for server with access control, and some more tests (#710) 2018-10-28 23:57:49 +05:30
test_compat.py rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30
test_cors.py add support for multiple domains in cors config (close #1436) (#1536) 2019-02-14 11:28:38 +05:30
test_events.py remove wreq and set response timeout (close #1477) (#1501) 2019-02-14 13:07:59 +05:30
test_graphql_introspection.py pep8 fixes for python files (#875) 2018-10-30 14:51:58 +05:30
test_graphql_mutations.py support column presets in update mutation (closes #1449, closes #1464) (#1473) 2019-02-11 18:15:30 +05:30
test_graphql_queries.py do not allow overloading already tracked functions (#1563) 2019-02-14 09:35:18 +05:30
test_jwt.py add config for stringified hasura claims in JWT (fix #1176) (#1538) 2019-02-05 17:34:16 +05:30
test_schema_stitching.py support union and interface types in remote schema (close #1276) (#1361) 2019-01-28 22:15:10 +05:30
test_subscriptions.py rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30
test_v1_queries.py support column presets in update mutation (closes #1449, closes #1464) (#1473) 2019-02-11 18:15:30 +05:30
test_version.py pep8 fixes for python files (#875) 2018-10-30 14:51:58 +05:30
test_webhook_insecure.py Tests for server with access control, and some more tests (#710) 2018-10-28 23:57:49 +05:30
validate.py rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30
webhook.py allow authentication webhook with POST (close #1138) (#1147) 2018-12-03 16:49:08 +05:30
webserver.py Support default values (in inputvalue) from the remote schema (close #1491) (#1493) 2019-01-28 18:08:38 +05:30

Running tests

pip install -r requirements.txt
pytest -vv --hge-url="http://127.0.0.1:8080" --pg-url="postgresql://admin@127.0.0.1:5432/hge_tests"