changeset 1270:db1811c83ccc

Fixed test for wikisync.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sun, 13 Aug 2006 23:40:51 +0200
parents 151da160dcea
children bb2f70fc9734 32fac089f2a6
files MoinMoin/_tests/test_wikisync.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_wikisync.py	Sun Aug 13 21:27:48 2006 +0200
+++ b/MoinMoin/_tests/test_wikisync.py	Sun Aug 13 23:40:51 2006 +0200
@@ -11,7 +11,7 @@
 from MoinMoin.PageEditor import PageEditor
 from MoinMoin._tests import TestConfig, TestSkipped
 
-from MoinMoin.wikisync import TagStore
+from MoinMoin.wikisync import TagStore, BOTH
 
 
 class UnsafeSyncTestcase(TestCase):
@@ -27,7 +27,7 @@
     def testBasicTagThings(self):
         tags = TagStore(self.page)
         self.assert_(not tags.get_all_tags())
-        tags.add(remote_wiki="foo", remote_rev=1, current_rev=2)
+        tags.add(remote_wiki="foo", remote_rev=1, current_rev=2, direction=BOTH)
         tags = TagStore(self.page) # reload
         self.assert_(tags.get_all_tags()[0].remote_rev == 1)