add a.xml and make xmlfiletests use it.

This commit is contained in:
Barış Metin
2005-09-17 19:19:51 +00:00
parent d90ef1c9bb
commit e76d494d6b
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<A href="http://www.cs.bilkent.edu.tr/~erayo">
<Name>Eray Ozkural</Name>
<Number>868</Number>
<Projects>
<Project>pisi</Project>
<Project>noatun</Project>
</Projects>
</A>
+1 -1
View File
@@ -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)