diff MoinMoin/script/migration/_tests/test_conv160a_wiki.py @ 4950:3be35ace8aca

test_conv160*: overwriting of i18n.wikiLanguages reverted for tests
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 19 Aug 2009 23:06:40 +0200
parents b0319cfcb1bc
children
line wrap: on
line diff
--- a/MoinMoin/script/migration/_tests/test_conv160a_wiki.py	Wed Aug 19 22:45:52 2009 +0200
+++ b/MoinMoin/script/migration/_tests/test_conv160a_wiki.py	Wed Aug 19 23:06:40 2009 +0200
@@ -20,7 +20,11 @@
 import py
 #py.test.skip("broken")
 
+from MoinMoin import i18n
+i18n_wikiLanguages = i18n.wikiLanguages
+# convert_wiki overwrites i18n.wikiLanguages, we revert this change for following tests
 from MoinMoin.script.migration._conv160a_wiki import convert_wiki
+i18n.wikiLanguages = i18n_wikiLanguages
 
 class TestWikiConversion:
     """ test the wiki markup conversion 1.6.0a -> 1.6.0 """