mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-09 08:00:39 +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()
|
||||
|
||||
result = schema.execute(
|
||||
'''query Test($date: Time){ time(at: $time) }''',
|
||||
'''query Test($time: Time){ time(at: $time) }''',
|
||||
variable_values={'time': isoformat}
|
||||
)
|
||||
assert not result.errors
|
||||
|
|
Loading…
Reference in New Issue
Block a user