Skip to content

Commit

Permalink
Correct Ariadne tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
umaannamalai committed Sep 15, 2021
1 parent c42c8b1 commit 10b045e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/framework_ariadne/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def _test():
def test_middleware(app, graphql_run, is_graphql_2):
_test_middleware_metrics = [
("GraphQL/operation/Ariadne/query/<anonymous>/hello", 1),
("GraphQL/resolve/Strawberry/hello", 1),
("GraphQL/resolve/Ariadne/hello", 1),
("Function/test_application:example_middleware", 1),
]

Expand Down Expand Up @@ -213,7 +213,7 @@ def test_exception_in_middleware(app, graphql_run):
# Metrics
_test_exception_scoped_metrics = [
("GraphQL/operation/Ariadne/query/MyQuery/%s" % field, 1),
("GraphQL/resolve/Strawberry/%s" % field, 1),
("GraphQL/resolve/Ariadne/%s" % field, 1),
]
_test_exception_rollup_metrics = [
("Errors/all", 1),
Expand Down

0 comments on commit 10b045e

Please sign in to comment.