mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
black reformat
This commit is contained in:
parent
7dd8305bdf
commit
4f2b278e12
|
@ -101,8 +101,7 @@ def test_date_query_variable():
|
|||
isoformat = now.isoformat()
|
||||
|
||||
result = schema.execute(
|
||||
"""query Test($date: Date){ date(in: $date) }""",
|
||||
variables={"date": isoformat},
|
||||
"""query Test($date: Date){ date(in: $date) }""", variables={"date": isoformat}
|
||||
)
|
||||
assert not result.errors
|
||||
assert result.data == {"date": isoformat}
|
||||
|
@ -114,8 +113,7 @@ def test_time_query_variable():
|
|||
isoformat = time.isoformat()
|
||||
|
||||
result = schema.execute(
|
||||
"""query Test($time: Time){ time(at: $time) }""",
|
||||
variables={"time": isoformat},
|
||||
"""query Test($time: Time){ time(at: $time) }""", variables={"time": isoformat}
|
||||
)
|
||||
assert not result.errors
|
||||
assert result.data == {"time": isoformat}
|
||||
|
|
Loading…
Reference in New Issue
Block a user