mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-03 16:39:25 +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
|
||||
# -*- coding:iso-8859-1 -*-
|
||||
|
||||
###
|
||||
# Copyright (c) 2002, Stéphan Kochen
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding:iso-8859-1 -*-
|
||||
|
||||
###
|
||||
# Copyright (c) 2003, Stéphan Kochen
|
||||
@ -74,8 +75,8 @@ if sqlite is not None:
|
||||
self.assertError('poll delete blah')
|
||||
|
||||
def testVote(self):
|
||||
self.assertHelp('poll vote 1 blah')
|
||||
self.assertError('poll vote blah Yes')
|
||||
self.assertRegexp('poll vote 1 blah', '^vote <id>')
|
||||
|
||||
def testResults(self):
|
||||
self.assertError('poll results blah')
|
||||
|
Loading…
Reference in New Issue
Block a user