diff --git a/wsme/tests/test_types.py b/wsme/tests/test_types.py index a5b49bf..50bc286 100644 --- a/wsme/tests/test_types.py +++ b/wsme/tests/test_types.py @@ -113,8 +113,11 @@ class TestTypes(unittest.TestCase): class Child(Parent): child_attribute = int + types.register_type(Parent) types.register_type(Child) + assert len(Child._wsme_attributes) == 2 + def test_selfreftype(self): class SelfRefType(object): pass