From: <dwa...@us...> - 2010-03-31 22:18:39
|
Revision: 14097 http://translate.svn.sourceforge.net/translate/?rev=14097&view=rev Author: dwaynebailey Date: 2010-03-31 22:18:31 +0000 (Wed, 31 Mar 2010) Log Message: ----------- Import xml_helpers directly instead of through lisa class Modified Paths: -------------- src/trunk/translate/convert/test_po2tmx.py Modified: src/trunk/translate/convert/test_po2tmx.py =================================================================== --- src/trunk/translate/convert/test_po2tmx.py 2010-03-31 22:14:04 UTC (rev 14096) +++ src/trunk/translate/convert/test_po2tmx.py 2010-03-31 22:18:31 UTC (rev 14097) @@ -5,7 +5,7 @@ from translate.convert import test_convert from translate.misc import wStringIO from translate.storage import tmx -from translate.storage import lisa +from translate.misc.xml_helpers import XML_NS class TestPO2TMX: @@ -66,7 +66,7 @@ print str(tmx) tuv = tmx.document.findall(".//%s" % tmx.namespaced("tuv"))[1] #tag[0] will be the source, we want the target tuv - assert tuv.get("{%s}lang" % lisa.XML_NS) == "xh" + assert tuv.get("{%s}lang" % XML_NS) == "xh" def test_multiline(self): """Test multiline po entry""" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |