python-drone-test/tests.py

14 lines
258 B
Python
Raw Normal View History

2022-10-10 11:08:33 +02:00
import unittest
from main import is_hello_world
class TestProject(unittest.TestCase):
def test_when_text_is_hello_world_with_maj_then_work(self):
2022-10-10 11:52:19 +02:00
self.assertTrue(is_hello_world("Hello world"))
2022-10-10 11:08:33 +02:00
if __name__ == '__main__':
unittest.main()