mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-09 08:00:39 +03:00
Fixed typo.
This commit is contained in:
parent
388253ede4
commit
83857bfcfe
|
@ -66,11 +66,11 @@ def test_to_arguments_raises_if_inputfield():
|
||||||
|
|
||||||
def test_argument_with_lazy_type():
|
def test_argument_with_lazy_type():
|
||||||
MyType = object()
|
MyType = object()
|
||||||
arg = Field(lambda: MyType)
|
arg = Argument(lambda: MyType)
|
||||||
assert arg.type == MyType
|
assert arg.type == MyType
|
||||||
|
|
||||||
|
|
||||||
def test_argument_with_lazy_partial_type():
|
def test_argument_with_lazy_partial_type():
|
||||||
MyType = object()
|
MyType = object()
|
||||||
arg = Field(partial(lambda: MyType))
|
arg = Argument(partial(lambda: MyType))
|
||||||
assert arg.type == MyType
|
assert arg.type == MyType
|
Loading…
Reference in New Issue
Block a user