mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Added an extra assert.
This commit is contained in:
parent
80bab37e98
commit
d27fa33995
@ -46,6 +46,7 @@ class DictionaryTestCase(unittest.TestCase):
|
||||
t.set('foo', False, '#foo')
|
||||
self.assertEqual(t.get('foo', '#foo'), False)
|
||||
self.assertEqual(t.get('foo'), True)
|
||||
self.assertEqual(t.getChannels('foo'), {'#foo': False})
|
||||
self.assertRaises(KeyError, t.set, 'bar', True)
|
||||
self.assertRaises(KeyError, t.set, 'bar', True, '#foo')
|
||||
t.set('f-o-o', False)
|
||||
|
Loading…
Reference in New Issue
Block a user