mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Updated the tests to stress more possibilities
This commit is contained in:
parent
ab93b9072f
commit
274ce40b0f
@ -30,6 +30,7 @@
|
|||||||
###
|
###
|
||||||
|
|
||||||
from test import *
|
from test import *
|
||||||
|
import sets
|
||||||
|
|
||||||
import utils
|
import utils
|
||||||
|
|
||||||
@ -145,6 +146,7 @@ class UtilsTest(unittest.TestCase):
|
|||||||
original = L[:]
|
original = L[:]
|
||||||
self.assertEqual(utils.commaAndify(L), 'foo, bar, and baz')
|
self.assertEqual(utils.commaAndify(L), 'foo, bar, and baz')
|
||||||
self.assertEqual(L, original)
|
self.assertEqual(L, original)
|
||||||
|
self.failUnless(utils.commaAndify(sets.Set(L)))
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user