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.

32 lines
598 B

  1. '''
  2. Created on Jan 25, 2014
  3. @author: Chris
  4. '''
  5. import unittest
  6. import i18n_config
  7. # from i18n import I18N
  8. #
  9. class Test(unittest.TestCase):
  10. # def setUp(self):
  11. # pass
  12. #
  13. # def testI18nThrowsIOErrorOnBadPath(self):
  14. # with self.assertRaises(IOError):
  15. # I18N('franch')
  16. def test_asfasdfadsf(self):
  17. import i18n
  18. print i18n.CONFIG_LANG
  19. i18n.CONFIG_LANG = "aaaa"
  20. print i18n.CONFIG_LANG
  21. reload(i18n)
  22. print i18n.CONFIG_LANG
  23. if __name__ == "__main__":
  24. pass
  25. #import sys;sys.argv = ['', 'Test.testName']
  26. unittest.main()