comparison MoinMoin/macro/_tests/test_FootNote.py @ 3244:886b8969dbc6

fix some unit tests
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 12 Mar 2008 01:08:43 +0100
parents b7914fb12243
children 7ee94ad36708
comparison
equal deleted inserted replaced
3243:1ad6243cdf06 3244:886b8969dbc6
46 46
47 def test_enumbering(self): 47 def test_enumbering(self):
48 """ module_tested: enumbering of Footnotes""" 48 """ module_tested: enumbering of Footnotes"""
49 m = self._make_macro() 49 m = self._make_macro()
50 text = 'a' 50 text = 'a'
51 FootNote.execute(m, text) 51 FootNote.macro_FootNote(m, text)
52 text = 'b' 52 text = 'b'
53 FootNote.execute(m, text) 53 FootNote.macro_FootNote(m, text)
54 result = FootNote.emit_footnotes(m.request, m.request.formatter) 54 result = FootNote.emit_footnotes(m.request, m.request.formatter)
55 55
56 assert result.endswith('2</a>)</li></ol></div>') 56 assert result.endswith('2</a>)</li></ol></div>')
57 57
58 58