Skip to content

Commit 5209232

Browse files
authored
Bump graphql-core version to 3.1.5 (#213)
1 parent beab41b commit 5209232

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages
44

55
install_requires = [
6-
"graphql-core>=3.1.4,<3.2",
6+
"graphql-core>=3.1.5,<3.2",
77
"yarl>=1.6,<2.0",
88
]
99

tests/starwars/test_dsl.py

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -264,32 +264,9 @@ def test_multiple_operations(ds):
264264
),
265265
)
266266

267-
"""
268-
From graphql-core version 3.1.5, print_ast() break arguments over multiple lines
269-
Accepting both cases here
270-
"""
271-
272267
assert (
273-
(
274-
print_ast(query)
275-
== """query GetHeroName {
276-
hero {
277-
name
278-
}
279-
}
280-
281-
mutation CreateReviewMutation {
282-
createReview(episode: JEDI, review: {stars: 5, \
283-
commentary: "This is a great movie!"}) {
284-
stars
285-
commentary
286-
}
287-
}
288-
"""
289-
)
290-
or (
291-
print_ast(query)
292-
== """query GetHeroName {
268+
print_ast(query)
269+
== """query GetHeroName {
293270
hero {
294271
name
295272
}
@@ -305,7 +282,6 @@ def test_multiple_operations(ds):
305282
}
306283
}
307284
"""
308-
)
309285
)
310286

311287

0 commit comments

Comments
 (0)