mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 12:12:54 +01:00
Fix tests for Python 2.
This commit is contained in:
parent
b42437c711
commit
857027a26f
@ -60,7 +60,7 @@ class UnixConfigTestCase(ChannelPluginTestCase):
|
|||||||
'foo bar')
|
'foo bar')
|
||||||
self.assertRegexp('config channel plugins.Unix.fortune.files '
|
self.assertRegexp('config channel plugins.Unix.fortune.files '
|
||||||
'"-foo bar"',
|
'"-foo bar"',
|
||||||
'Error:.*dash.*not \'-foo\'')
|
'Error:.*dash.*not u?\'-foo\'') # The u is for Python 2
|
||||||
self.assertNotError('config channel plugins.Unix.fortune.files ""')
|
self.assertNotError('config channel plugins.Unix.fortune.files ""')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user