mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-23 07:00:56 +03:00
fix linting issues
This commit is contained in:
parent
7f85f65ba7
commit
a7d7f95b86
|
@ -54,6 +54,7 @@ def test_object_type_set_properties():
|
||||||
assert h.readonly_prop == 'readonly'
|
assert h.readonly_prop == 'readonly'
|
||||||
assert h.write_prop == 'custom'
|
assert h.write_prop == 'custom'
|
||||||
|
|
||||||
|
|
||||||
def test_object_type_set_private_attributes():
|
def test_object_type_set_private_attributes():
|
||||||
class Human(ObjectType):
|
class Human(ObjectType):
|
||||||
_private_state = None
|
_private_state = None
|
||||||
|
@ -64,6 +65,7 @@ def test_object_type_set_private_attributes():
|
||||||
with raises(TypeError):
|
with raises(TypeError):
|
||||||
Human(_other_private_state='My name')
|
Human(_other_private_state='My name')
|
||||||
|
|
||||||
|
|
||||||
def test_object_type_container_invalid_kwarg():
|
def test_object_type_container_invalid_kwarg():
|
||||||
class Human(ObjectType):
|
class Human(ObjectType):
|
||||||
name = String()
|
name = String()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user