Skip to content

Commit

Permalink
chore: Do not show overly verbose raw schemas in Hypothesis output fo…
Browse files Browse the repository at this point in the history
…r failed GraphQL tests
  • Loading branch information
Stranger6667 committed Mar 27, 2021
1 parent c46d5b8 commit e69a2ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Changelog
- Unified test IDs across CLI & pytest plugin. They constructed as ``<method> <relative_path>`` for Open API.
Corresponding field names are used for GraphQL. Previously, the pytest plugin used full paths, including the base path, and
CLI used only relative paths. Using relative paths doesn't lead to different test names when different base URLs are used.
- Do not show overly verbose raw schemas in Hypothesis output for failed GraphQL tests.

`3.5.3`_ - 2021-03-27
---------------------
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/schemathesis/specs/graphql/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ...utils import GenericResponse, Ok, Result


@attr.s() # pragma: no mutate
@attr.s(slots=True, repr=False) # pragma: no mutate
class GraphQLCase(Case):
def as_requests_kwargs(
self, base_url: Optional[str] = None, headers: Optional[Dict[str, str]] = None
Expand Down

0 comments on commit e69a2ea

Please sign in to comment.