exercism

Exercism solutions.
git clone git://code.dwrz.net/exercism
Log | Files | Refs

hello_world_test.py (294B)


      1 import unittest
      2 
      3 import hello_world
      4 
      5 
      6 # Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0
      7 
      8 class HelloWorldTest(unittest.TestCase):
      9     def test_hello(self):
     10         self.assertEqual(hello_world.hello(), 'Hello, World!')
     11 
     12 
     13 if __name__ == '__main__':
     14     unittest.main()