Files
python/exercises/practice/hello-world/hello_world_test.py

17 lines
294 B
Python
Raw Normal View History

2015-04-25 19:32:04 +02:00
import unittest
from hello_world import (
hello,
)
2015-04-25 19:32:04 +02:00
2020-10-15 12:46:24 -04:00
# Tests adapted from `problem-specifications//canonical-data.json`
2018-06-13 09:12:09 -04:00
class HelloWorldTest(unittest.TestCase):
def test_say_hi(self):
self.assertEqual(hello(), "Hello, World!")
if __name__ == "__main__":
2015-04-25 19:32:04 +02:00
unittest.main()