Reproduce a bug when a Child complex type is registered after its Parent (it's not actually).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user