Added a couple asserts.

This commit is contained in:
Jeremy Fincher 2005-01-12 02:47:35 +00:00
parent 3b9492d1ba
commit 493aa57d8e

View File

@ -399,6 +399,8 @@ class UtilsTest(SupyTestCase):
d = ipd(dict(Foo=10)) d = ipd(dict(Foo=10))
self.failUnless(d['foo'] == 10) self.failUnless(d['foo'] == 10)
self.assertEqual(d.keys(), ['Foo']) self.assertEqual(d.keys(), ['Foo'])
self.assertEqual(d.get('foo'), 10)
self.assertEqual(d.get('Foo'), 10)
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: