From d3183db4ef319688392a51bbb1ff187829180ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Wed, 28 Sep 2005 12:46:50 +0000 Subject: [PATCH] * start testing class type --- tests/xmlfiletests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xmlfiletests.py b/tests/xmlfiletests.py index c61015ca..64a1bb82 100644 --- a/tests/xmlfiletests.py +++ b/tests/xmlfiletests.py @@ -32,7 +32,7 @@ class XmlFileTestCase(unittest.TestCase): __metaclass__ = xmlfile.autoxml t_BirthDate = [types.StringType, xmlfile.mandatory] t_Interest = [types.StringType, xmlfile.optional] - t_CodesWith = [ [types.StringType], xmlfile.optional, 'Person'] + #t_CodesWith = [ [types.StringType], xmlfile.optional, 'Person'] class A: __metaclass__ = xmlfile.autoxml @@ -41,7 +41,7 @@ class XmlFileTestCase(unittest.TestCase): t_Email = [types.StringType, xmlfile.optional] a_href = [types.StringType, xmlfile.mandatory] #t_Projects = [ [types.StringType], xmlfile.mandatory, 'Project'] - #t_OtherInfo = [ OtherInfo, xmlfile.optional ] + t_OtherInfo = [ OtherInfo, xmlfile.optional ] a = A() self.assertEqual(a.href, None)