changeset 754:149ddb56416e pytest2

tests in test_user changed as value for interWikiName is handled differntly now
author pkumar <contactprashantat@gmail.com>
date Mon, 22 Aug 2011 21:11:52 +0530
parents 72f6a200ed88
children 6097284a3cdc c3ec667a4bfa
files MoinMoin/_tests/test_user.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_user.py	Mon Aug 22 19:46:03 2011 +0530
+++ b/MoinMoin/_tests/test_user.py	Mon Aug 22 21:11:52 2011 +0530
@@ -350,7 +350,7 @@
         # test for addQuicklink()
         theUser.addQuicklink(u'Test_page_added')
         result_on_addition = theUser.getQuickLinks()
-        expected = [u'Test_page_quicklink', u'Test_page_added']
+        expected = [u'Test_page_quicklink', u'MoinTest:Test_page_added']
         assert result_on_addition == expected
 
         # user should be quicklinked to [pagename]
@@ -380,7 +380,7 @@
         # item name added to trail
         theUser.addTrail(u'item_added')
         result = theUser.getTrail()
-        expected = [u'item_added']
+        expected = [u'MoinTest:item_added']
         assert result == expected
 
     # Other ----------------------------------------------------------