test.py 231 B

1234567891011121314
  1. '''
  2. Tests unitaires
  3. '''
  4. import unittest
  5. import hello_world
  6. class Test(unittest.TestCase):
  7. def test_main(self):
  8. self.assertEqual(hello_world.main(), "Hello World!")
  9. if __name__ == "__main__":
  10. unittest.main()