utils/python-unit-tests.py
changeset 6290 e01b68222e60
parent 4472 e20a31541404
--- a/utils/python-unit-tests.py	Wed May 05 17:16:43 2010 -0400
+++ b/utils/python-unit-tests.py	Thu May 06 14:21:20 2010 +0100
@@ -145,5 +145,13 @@
         self.assertEqual(cmd.test_xxx, "123")
         self.assertEqual(foo.test_foo, "xpto")
 
+    def testSubclass(self):
+        class MyNode(ns3.Node):
+            def __init__(self):
+                super(MyNode, self).__init__()
+
+        node = MyNode()
+
+
 if __name__ == '__main__':
     unittest.main()