Skip to content

Commit 4f21b41

Browse files
committed
Remove unnecessary parens
1 parent 61fac30 commit 4f21b41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_graphiqlview.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@pytest.fixture
1717
def pretty_response():
1818
return (
19-
("{\n" ' "data": {\n' ' "test": "Hello World"\n' " }\n" "}")
19+
"{\n" ' "data": {\n' ' "test": "Hello World"\n' " }\n" "}"
2020
.replace('"', '\\"')
2121
.replace("\n", "\\n")
2222
)
@@ -82,7 +82,7 @@ async def test_graphiql_get_mutation(client, url_builder):
8282
async def test_graphiql_get_subscriptions(client, url_builder):
8383
response = await client.get(
8484
url_builder(
85-
query=("subscription TestSubscriptions { subscriptionsTest { test } }")
85+
query="subscription TestSubscriptions { subscriptionsTest { test } }"
8686
),
8787
headers={"Accept": "text/html"},
8888
)

0 commit comments

Comments
 (0)