mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Fixed tests
This commit is contained in:
parent
3c65deb313
commit
6ad668fe38
|
@ -42,4 +42,4 @@ def test_to_arguments_wrong_type():
|
|||
to_arguments(
|
||||
p=3
|
||||
)
|
||||
assert 'Unknown argument value type 3' == str(excinfo.value)
|
||||
assert 'Unknown argument p=3' == str(excinfo.value)
|
||||
|
|
|
@ -26,7 +26,7 @@ def test_type_as_field_called(Field):
|
|||
resolver = lambda x: x
|
||||
a = MountedType(2, description='A', resolver=resolver)
|
||||
a.as_field()
|
||||
Field.assert_called_with(MountedType, 2, _creation_counter=a.creation_counter, description='A', resolver=resolver)
|
||||
Field.assert_called_with(a, 2, _creation_counter=a.creation_counter, description='A', resolver=resolver)
|
||||
|
||||
|
||||
@patch('graphene.core.types.argument.Argument')
|
||||
|
|
Loading…
Reference in New Issue
Block a user