You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
362 B

  1. '''
  2. Created on Jan 25, 2014
  3. @author: Chris
  4. '''
  5. from i18n import I18N
  6. import unittest
  7. class Test(unittest.TestCase):
  8. def setUp(self):
  9. pass
  10. def testI18nThrowsIOErrorOnBadPath(self):
  11. with self.assertRaises(IOError):
  12. I18N('franch')
  13. if __name__ == "__main__":
  14. #import sys;sys.argv = ['', 'Test.testName']
  15. unittest.main()