Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1490)

Issue 9478044: Ported test cases of Moin2 for python 3.x with backward compatibility

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by chitrankdixit
Modified:
11 years, 6 months ago
Reviewers:
thomas.j.waldmann
Visibility:
Public.

Description

Ported test cases of Moin2 : -- Keeping in mind the similar behavior of functions and libraries after using 2to3.

Patch Set 1 #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -41 lines) Patch
M MoinMoin/_tests/__init__.py View 1 chunk +1 line, -1 line 2 comments Download
M MoinMoin/_tests/ldap_testbase.py View 1 chunk +1 line, -1 line 0 comments Download
M MoinMoin/_tests/test_test_environ.py View 1 chunk +1 line, -2 lines 0 comments Download
M MoinMoin/apps/frontend/_tests/test_frontend.py View 3 chunks +3 lines, -4 lines 2 comments Download
M MoinMoin/config/_tests/test_defaultconfig.py View 1 chunk +1 line, -1 line 0 comments Download
M MoinMoin/converter/_tests/test__args_wiki.py View 1 chunk +4 lines, -4 lines 3 comments Download
M MoinMoin/converter/_tests/test_creole_in.py View 1 chunk +1 line, -1 line 0 comments Download
M MoinMoin/converter/_tests/test_docbook_in.py View 2 chunks +4 lines, -5 lines 0 comments Download
M MoinMoin/converter/_tests/test_docbook_out.py View 3 chunks +4 lines, -4 lines 1 comment Download
M MoinMoin/converter/_tests/test_html_in.py View 2 chunks +3 lines, -3 lines 0 comments Download
M MoinMoin/converter/_tests/test_html_out.py View 3 chunks +3 lines, -3 lines 0 comments Download
M MoinMoin/datastruct/backends/_tests/__init__.py View 4 chunks +6 lines, -6 lines 4 comments Download
M MoinMoin/datastruct/backends/_tests/test_wiki_groups.py View 1 chunk +1 line, -1 line 0 comments Download
M MoinMoin/items/_tests/test_Blog.py View 1 chunk +1 line, -1 line 0 comments Download
M MoinMoin/macro/_tests/test_Anchor.py View 1 chunk +1 line, -1 line 0 comments Download
M MoinMoin/util/_tests/test_interwiki.py View 2 chunks +12 lines, -3 lines 2 comments Download

Messages

Total messages: 4
Thomas.J.Waldmann
https://codereview.appspot.com/9478044/diff/1/MoinMoin/_tests/__init__.py File MoinMoin/_tests/__init__.py (right): https://codereview.appspot.com/9478044/diff/1/MoinMoin/_tests/__init__.py#newcode12 MoinMoin/_tests/__init__.py:12: from io import StringIO did you notice how that ...
11 years, 6 months ago (2013-05-19 19:45:00 UTC) #1
chitrankdixit
Reason replacing from StringIO import StringIO and using from io import StringIO for both py2 ...
11 years, 6 months ago (2013-05-20 13:01:28 UTC) #2
chitrankdixit
https://codereview.appspot.com/9478044/diff/1/MoinMoin/apps/frontend/_tests/test_frontend.py File MoinMoin/apps/frontend/_tests/test_frontend.py (right): https://codereview.appspot.com/9478044/diff/1/MoinMoin/apps/frontend/_tests/test_frontend.py#newcode27 MoinMoin/apps/frontend/_tests/test_frontend.py:27: print('%s %s' % (method, url_for(viewname, **viewopts))) I have used ...
11 years, 6 months ago (2013-05-20 13:58:37 UTC) #3
Thomas.J.Waldmann
11 years, 6 months ago (2013-05-23 08:51:35 UTC) #4
https://codereview.appspot.com/9478044/diff/1/MoinMoin/converter/_tests/test_...
File MoinMoin/converter/_tests/test__args_wiki.py (right):

https://codereview.appspot.com/9478044/diff/1/MoinMoin/converter/_tests/test_...
MoinMoin/converter/_tests/test__args_wiki.py:24: u'''"a b\tc\nd" k="a
b\tc\nd"''',
if you convert a ur'' string into a u'' string, you have to escape it.
e.g.: \ usually becomes \\

ur'' strings are not supported in py 3.3
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b