Skip to content

Commit 05be306

Browse files
committed
show connection.list_length is agnostic to slicing args in test
1 parent 2cd2dee commit 05be306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_mongo/tests/test_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ def test_default_resolver_with_colliding_objects_field():
4141
def test_default_resolver_connection_list_length(fixtures):
4242
field = MongoengineConnectionField(ArticleNode)
4343

44-
connection = field.default_resolver(None, {})
44+
connection = field.default_resolver(None, {}, **{'first': 1})
4545
assert hasattr(connection, 'list_length')
4646
assert connection.list_length == 2

0 commit comments

Comments
 (0)