enabled test_appadmin, fix markmin2html, fix main.py
This commit is contained in:
@@ -19,10 +19,10 @@ from .test_utils import *
|
||||
from .test_serializers import *
|
||||
from .test_languages import *
|
||||
from .test_compileapp import *
|
||||
from .test_appadmin import *
|
||||
|
||||
if sys.version[:3] == '2.7':
|
||||
from .test_is_url import *
|
||||
from .test_appadmin import *
|
||||
from .test_scheduler import *
|
||||
from .test_web import *
|
||||
from .test_old_doctests import *
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user