strawberry.test.BaseGraphQLTestClient
Constructor:
Signature:
def __init__(self, client: Any, url: str = '/graphql/') -> None:
Parameters:
-
-
- Type
-
str
- Default
-
'/graphql/'
Methods:
-
query
Signature:
variables: Dict[str, Mapping] | None = None,
headers: Dict[str, object] | None = None,
asserts_errors: bool | None = True,
files: Dict[str, object] | None = None,
) -> Coroutine[Any, Any, Response] | Response:
Parameters:
-
-
- Type
-
Dict[str, Mapping] | None
- Default
-
None
-
- Type
-
Dict[str, object] | None
- Default
-
None
-
- Type
-
bool | None
- Default
-
True
-
- Type
-
Dict[str, object] | None
- Default
-
None
-
request
Signature:
headers: Dict[str, object] | None = None,
files: Dict[str, object] | None = None,
Parameters:
-
-
- Type
-
Dict[str, object] | None
- Default
-
None
-
- Type
-
Dict[str, object] | None
- Default
-
None
Attributes:
-