mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +03:00
add time query variable test
This commit is contained in:
parent
4653a0e5df
commit
20ca84966e
|
@ -62,7 +62,7 @@ def test_time_query_variable():
|
||||||
isoformat = time.isoformat()
|
isoformat = time.isoformat()
|
||||||
|
|
||||||
result = schema.execute(
|
result = schema.execute(
|
||||||
'''query Test($date: Time){ time(at: $time) }''',
|
'''query Test($time: Time){ time(at: $time) }''',
|
||||||
variable_values={'time': isoformat}
|
variable_values={'time': isoformat}
|
||||||
)
|
)
|
||||||
assert not result.errors
|
assert not result.errors
|
||||||
|
|
Loading…
Reference in New Issue
Block a user