mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 20:54:16 +03:00
chore: lint
This commit is contained in:
parent
c9a4d5301c
commit
3787d224a7
|
@ -226,6 +226,7 @@ def test_time_query_variable(sample_time):
|
||||||
assert not result.errors
|
assert not result.errors
|
||||||
assert result.data == {"time": isoformat}
|
assert result.data == {"time": isoformat}
|
||||||
|
|
||||||
|
|
||||||
def test_support_isoformat():
|
def test_support_isoformat():
|
||||||
isoformat = 20111104
|
isoformat = 20111104
|
||||||
|
|
||||||
|
@ -244,6 +245,7 @@ def test_support_isoformat():
|
||||||
assert not result.errors
|
assert not result.errors
|
||||||
assert result.data == {"time": isoformat}
|
assert result.data == {"time": isoformat}
|
||||||
|
|
||||||
|
|
||||||
def test_bad_variables(sample_date, sample_datetime, sample_time):
|
def test_bad_variables(sample_date, sample_datetime, sample_time):
|
||||||
def _test_bad_variables(type_, input_):
|
def _test_bad_variables(type_, input_):
|
||||||
result = schema.execute(
|
result = schema.execute(
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -83,8 +83,8 @@ setup(
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"graphql-core>=3.1,<3.3",
|
"graphql-core>=3.1,<3.3",
|
||||||
"graphql-relay>=3.1,<3.3",
|
"graphql-relay>=3.1,<3.3",
|
||||||
|
"python-dateutil>=2.7.0,<3",
|
||||||
"typing-extensions>=4.7.1,<5",
|
"typing-extensions>=4.7.1,<5",
|
||||||
"python-dateutil>=2.7.0,<3"
|
|
||||||
],
|
],
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
extras_require={"test": tests_require, "dev": dev_requires},
|
extras_require={"test": tests_require, "dev": dev_requires},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user