mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed failure (used testHelp) and added an encoding so Python doesn't complain.
This commit is contained in:
parent
094bdee30b
commit
388da451f2
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
# -*- coding:iso-8859-1 -*-
|
||||||
|
|
||||||
###
|
###
|
||||||
# Copyright (c) 2002, Stéphan Kochen
|
# Copyright (c) 2002, Stéphan Kochen
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# -*- coding:iso-8859-1 -*-
|
||||||
|
|
||||||
###
|
###
|
||||||
# Copyright (c) 2003, Stéphan Kochen
|
# Copyright (c) 2003, Stéphan Kochen
|
||||||
@ -74,8 +75,8 @@ if sqlite is not None:
|
|||||||
self.assertError('poll delete blah')
|
self.assertError('poll delete blah')
|
||||||
|
|
||||||
def testVote(self):
|
def testVote(self):
|
||||||
|
self.assertHelp('poll vote 1 blah')
|
||||||
self.assertError('poll vote blah Yes')
|
self.assertError('poll vote blah Yes')
|
||||||
self.assertRegexp('poll vote 1 blah', '^vote <id>')
|
|
||||||
|
|
||||||
def testResults(self):
|
def testResults(self):
|
||||||
self.assertError('poll results blah')
|
self.assertError('poll results blah')
|
||||||
|
Loading…
Reference in New Issue
Block a user