Commit 176bc8d8 authored by Mario Jorge Amaral's avatar Mario Jorge Amaral

The testGetChapterItem now expects [chapter, chapter_id].

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@44318 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b5ff4a94
......@@ -600,7 +600,7 @@ class TestServer(HandlerTestCase):
"""Test if manager can get a chapter"""
data = encodestring(open("./data/granulate_chapters_test.odt").read())
chapter = self.proxy.getChapterItem(1, data, "odt")
self.assertEquals([1, 'Title 1'], chapter)
self.assertEquals(['Title 1', 1], chapter)
def test_suite():
return make_suite(TestServer)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment