Just to double-check that indexing checks and unique topic number checking are

done properly.
This commit is contained in:
James Vega 2003-12-09 15:26:05 +00:00
parent 15a2b84a36
commit 9ca2732b45

View File

@ -94,6 +94,7 @@ class TopicTestCase(ChannelPluginTestCase, PluginDocumentation):
self.assertRegexp('topic reorder 2 1 3', r'bar.*foo.*baz') self.assertRegexp('topic reorder 2 1 3', r'bar.*foo.*baz')
self.assertRegexp('topic reorder 3 -2 1', r'baz.*foo.*bar') self.assertRegexp('topic reorder 3 -2 1', r'baz.*foo.*bar')
self.assertError('topic reorder 0 1 2') self.assertError('topic reorder 0 1 2')
self.assertError('topic reorder 1 -2 2')
self.assertError('topic reorder 1 2') self.assertError('topic reorder 1 2')
self.assertError('topic reorder 2 3 4') self.assertError('topic reorder 2 3 4')
self.assertError('topic reorder 1 2 2') self.assertError('topic reorder 1 2 2')