Skip to content

Commit 6ad668f

Browse files
committed
Fixed tests
1 parent 3c65deb commit 6ad668f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graphene/core/types/tests/test_argument.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ def test_to_arguments_wrong_type():
4242
to_arguments(
4343
p=3
4444
)
45-
assert 'Unknown argument value type 3' == str(excinfo.value)
45+
assert 'Unknown argument p=3' == str(excinfo.value)

graphene/core/types/tests/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_type_as_field_called(Field):
2626
resolver = lambda x: x
2727
a = MountedType(2, description='A', resolver=resolver)
2828
a.as_field()
29-
Field.assert_called_with(MountedType, 2, _creation_counter=a.creation_counter, description='A', resolver=resolver)
29+
Field.assert_called_with(a, 2, _creation_counter=a.creation_counter, description='A', resolver=resolver)
3030

3131

3232
@patch('graphene.core.types.argument.Argument')

0 commit comments

Comments
 (0)