devtools/test/unittest_i18n.py
branchstable
changeset 9202 83f73a9746f6
parent 9200 1ba5961b19dd
child 10464 5ad491852062
--- a/devtools/test/unittest_i18n.py	Tue Jul 30 10:06:06 2013 +0200
+++ b/devtools/test/unittest_i18n.py	Tue Jul 30 16:48:57 2013 +0200
@@ -71,4 +71,9 @@
         self.assertEqual(msgs, newmsgs)
 
 if __name__ == '__main__':
+    # XXX dirty hack to make this test runnable using python (works
+    # fine with pytest, but not with python directly if this hack is
+    # not present)
+    # XXX to remove ASA logilab.common is fixed
+    sys.path.append('')
     unittest_main()