From e76d494d6bda6308266f454c4b09d06aa8c32cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Sat, 17 Sep 2005 19:19:51 +0000 Subject: [PATCH] add a.xml and make xmlfiletests use it. --- tests/a.xml | 9 +++++++++ tests/xmlfiletests.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 tests/a.xml diff --git a/tests/a.xml b/tests/a.xml new file mode 100644 index 00000000..375d2644 --- /dev/null +++ b/tests/a.xml @@ -0,0 +1,9 @@ + + + Eray Ozkural + 868 + + pisi + noatun + + diff --git a/tests/xmlfiletests.py b/tests/xmlfiletests.py index 838b34c6..7953ba89 100644 --- a/tests/xmlfiletests.py +++ b/tests/xmlfiletests.py @@ -34,7 +34,7 @@ class XmlFileTestCase(unittest.TestCase): #t_Projects = [ [types.StringType], xmlfile.mandatory] a = A() self.assertEqual(a.href, None) - dom = mdom.parse('tests/sandbox/a.xml') + dom = mdom.parse('tests/a.xml') node = getNode(dom, 'A') self.assert_(len(A.decoders)>0) a.decode(node)