From aa0c401cb517afc09f6dee7477005ed1badb35c8 Mon Sep 17 00:00:00 2001 From: Kurtis Jantzen Date: Wed, 30 May 2018 16:56:42 -0600 Subject: [PATCH] Resolve #750 by editing assert message --- graphene/relay/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphene/relay/node.py b/graphene/relay/node.py index 6596757c..5c787ffb 100644 --- a/graphene/relay/node.py +++ b/graphene/relay/node.py @@ -101,8 +101,8 @@ class Node(AbstractNode): if only_type: assert graphene_type == only_type, ( - 'Must receive an {} id.' - ).format(graphene_type._meta.name) + 'Must receive a {} id.' + ).format(only_type._meta.name) # We make sure the ObjectType implements the "Node" interface if cls not in graphene_type._meta.interfaces: