Fix test case

Had bad logic in test case
This commit is contained in:
getglad 2019-03-28 09:57:58 -04:00 committed by GitHub
parent a47ac0feb4
commit 250c667e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ def test_generate_objecttype_with_private_attributes():
assert m._private_state == "custom" assert m._private_state == "custom"
m = MyObjectType(_other_private_state="custom") m = MyObjectType(_other_private_state="custom")
assert hasattr(MyObjectType, "_private_state") assert hasattr(m, "_other_private_state")
def test_ordered_fields_in_objecttype(): def test_ordered_fields_in_objecttype():