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

Issue 9115044: Moin2.0 : IOError while testing with py.test

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by chitrankdixit
Modified:
10 years, 11 months ago
Visibility:
Public.

Description

Moin2.0 : IOError while testing with py.test diff -r 979c2ee641ac MoinMoin/util/_tests/test_interwiki.py --- a/MoinMoin/util/_tests/test_interwiki.py Sat Apr 27 14:48:32 2013 +0200 +++ b/MoinMoin/util/_tests/test_interwiki.py Wed May 08 02:06:27 2013 +0530 @@ -186,8 +186,9 @@ """ Test a 'real' interwiki file. """ - abspath = __file__.rsplit('MoinMoin')[0] - testfile = os.path.join(abspath, 'contrib', 'interwiki', 'intermap.txt') + abspath = __file__ .rsplit('2.0')[0] + testfile = os.path.join(abspath,'2.0','contrib', 'interwiki', 'intermap.txt') + testiwm = InterWikiMap.from_file(testfile) assert 'MoinSrc' in testiwm.iwmap

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M MoinMoin/util/_tests/test_interwiki.py View 1 chunk +3 lines, -2 lines 0 comments Download

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