fix linting issues

This commit is contained in:
Markus Padourek 2016-07-26 12:16:48 +01:00 committed by GitHub
parent 7f85f65ba7
commit a7d7f95b86

View File

@ -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()