enabled test_appadmin, fix markmin2html, fix main.py

This commit is contained in:
ilvalle
2016-06-15 20:17:58 +02:00
parent 0f648eee56
commit 2aeb063890
10 changed files with 31 additions and 32 deletions
+2 -4
View File
@@ -106,10 +106,8 @@ class TestTranslations(unittest.TestCase):
'1 quark')
self.assertEqual(str(T('%s %%{quark[0]}', 2)),
'2 quarks')
if PY2:
# FIXME PY3 markmin is not supported yet
self.assertEqual(str(T.M('**Hello World**')),
'<strong>Hello World</strong>')
self.assertEqual(str(T.M('**Hello World**')),
'<strong>Hello World</strong>')
T.force('it')
self.assertEqual(str(T('Hello World')),
'Salve Mondo')