[Zope-CVS] CVS: PythonNet/tests/python - test_class.py:1.4
Brian Lloyd
brian at zope.com
Sat Aug 9 00:29:57 EDT 2003
Update of /cvs-repository/PythonNet/tests/python
In directory cvs.zope.org:/tmp/cvs-serv4904/tests/python
Modified Files:
test_class.py
Log Message:
p2 updates
=== PythonNet/tests/python/test_class.py 1.3 => 1.4 ===
--- PythonNet/tests/python/test_class.py:1.3 Fri Aug 8 15:49:26 2003
+++ PythonNet/tests/python/test_class.py Fri Aug 8 23:29:52 2003
@@ -58,7 +58,6 @@
self.failUnlessRaises(AttributeError, test)
-
def testBasicSubclass(self):
"""Test basic subclass of a managed class."""
@@ -76,13 +75,16 @@
self.failUnless(table.howMany() == 0)
self.failUnless(table.Count == 0)
- #table['one'] = ['one']
- #table.set_Item('one', 'one')
- Hashtable.__setitem__(table, 'one', 'one')
+ table.set_Item('one', 'one')
self.failUnless(table.howMany() == 1)
self.failUnless(table.Count == 1)
+ # test strange __new__ interactions
+
+ # test weird metatype
+ # test recursion
+ # test
def testOverrideGetItem(self):
"""Test managed subclass overriding __getitem__."""
@@ -103,7 +105,6 @@
self.failUnless(table['three'] == 'my three')
self.failUnless(table.Count == 3)
-
def testOverrideSetItem(self):
"""Test managed subclass overriding __setitem__."""
More information about the Zope-CVS
mailing list