From 4d41160379cf5757764f8ca5690d616a6de3bbf8 Mon Sep 17 00:00:00 2001 From: Daniel Bachler Date: Wed, 28 Feb 2018 17:45:25 +0100 Subject: [PATCH] Update resolve method signature to 2.0 style in new test --- graphene_django/tests/test_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_django/tests/test_query.py b/graphene_django/tests/test_query.py index 913a93f..62524d4 100644 --- a/graphene_django/tests/test_query.py +++ b/graphene_django/tests/test_query.py @@ -451,7 +451,7 @@ def test_should_query_node_filtering_with_distinct_queryset(): # def resolve_all_reporters_with_berlin_films(self, args, context, info): # return Reporter.objects.filter(Q(films__film__location__contains="Berlin") | Q(a_choice=1)) - def resolve_films(self, args, context, info): + def resolve_films(self, info, **args): return Film.objects.filter(Q(details__location__contains="Berlin") | Q(genre__in=['ot'])).distinct() f = Film.objects.create(