home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- import unittest
- import computerjanitor
-
- class ComputerJanitorExceptionTests(unittest.TestCase):
-
- def testReturnsStrCorrectly(self):
- e = computerjanitor.Exception()
- e._str = 'pink'
- self.assertEqual(str(e), 'pink')
-
-
-
- class UnimplementedMethodTests(unittest.TestCase):
-
- def testErrorMessageContainsMethodName(self):
- e = computerjanitor.UnimplementedMethod(self.__init__)
- self.assert_('__init__' in str(e))
-
-
-