graphql-engine/server/tests-py
Rakesh Emmadi fc7ea9213c fix non-admin insert returns null column values when query affects zero rows in postgres (fix #563) (#565)
Insert trigger function: If query affects no rows then return `null`

Insert trigger function is modified to have 
 `IF r IS NULL THEN RETURN null; ELSE RETURN r; END IF;` in return statement.
2018-09-29 11:12:47 +05:30
..
queries fix non-admin insert returns null column values when query affects zero rows in postgres (fix #563) (#565) 2018-09-29 11:12:47 +05:30
.gitignore python based tests (#387) 2018-09-18 11:51:57 +05:30
conftest.py python based tests (#387) 2018-09-18 11:51:57 +05:30
context.py live queries tests for subscription (#487) 2018-09-20 07:16:03 +05:30
README.md python based tests (#387) 2018-09-18 11:51:57 +05:30
requirements.txt python based tests (#387) 2018-09-18 11:51:57 +05:30
test_events.py add custom headers for webhooks, refactor retry logic (#419) 2018-09-24 17:20:11 +05:30
test_graphql_introspection.py dont set non-null constraint for manual object relationships (close #462) 2018-09-18 17:01:16 +05:30
test_graphql_mutations.py quote constraint name for non-admin inserts (fix #494) (#497) 2018-09-20 20:54:20 +05:30
test_graphql_queries.py python based tests (#387) 2018-09-18 11:51:57 +05:30
test_subscriptions.py live queries tests for subscription (#487) 2018-09-20 07:16:03 +05:30
test_v1_queries.py python based tests (#387) 2018-09-18 11:51:57 +05:30
test_version.py python based tests (#387) 2018-09-18 11:51:57 +05:30
validate.py add custom headers for webhooks, refactor retry logic (#419) 2018-09-24 17:20:11 +05:30

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"