add time query variable test

This commit is contained in:
Paul Bailey 2016-11-23 11:23:56 -05:00
parent 4653a0e5df
commit 20ca84966e

View File

@ -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