mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
bff1309344
Starting it and stopping it for the various tests that actually use it. There are only a few. This also removes some dead code and fixes warnings in _test_webhook_request_context.py_. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5846 GitOrigin-RevId: 7760467f9de7b1f9718e7482275c298eeaa3ad3a
20 lines
494 B
Python
20 lines
494 B
Python
#!/usr/bin/env python3
|
|
|
|
import pytest
|
|
|
|
from validate import check_query_f
|
|
|
|
@pytest.mark.parametrize('transport', ['http', 'websocket'])
|
|
@pytest.mark.usefixtures(
|
|
'gql_server',
|
|
'per_class_db_schema_for_mutation_tests',
|
|
'per_method_db_data_for_mutation_tests',
|
|
)
|
|
class TestHeterogeneousQuery:
|
|
@classmethod
|
|
def dir(cls):
|
|
return 'queries/heterogeneous'
|
|
|
|
def test_basic(self, hge_ctx, transport):
|
|
check_query_f(hge_ctx, self.dir() + '/basic.yaml', transport)
|