mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-23 01:56:54 +03:00
Fixed Python3 test assertions
This commit is contained in:
parent
0f76e8f817
commit
0922f91c33
|
@ -69,7 +69,7 @@ def test_big_list_query_benchmark(benchmark):
|
|||
big_list_query = partial(hello_schema.execute, '{ allInts }')
|
||||
result = benchmark(big_list_query)
|
||||
assert not result.errors
|
||||
assert result.data == {'allInts': big_list}
|
||||
assert result.data == {'allInts': list(big_list)}
|
||||
|
||||
|
||||
def test_big_list_query_compiled_query_benchmark(benchmark):
|
||||
|
@ -88,7 +88,7 @@ def test_big_list_query_compiled_query_benchmark(benchmark):
|
|||
big_list_query = partial(execute, hello_schema, query_ast)
|
||||
result = benchmark(big_list_query)
|
||||
assert not result.errors
|
||||
assert result.data == {'allInts': big_list}
|
||||
assert result.data == {'allInts': list(big_list)}
|
||||
|
||||
|
||||
def test_big_list_of_containers_query_benchmark(benchmark):
|
||||
|
|
Loading…
Reference in New Issue
Block a user