From a343756049c7816c1fd4cabf566029dc0fdd5af0 Mon Sep 17 00:00:00 2001 From: Bentozox Date: Mon, 10 Oct 2022 11:08:33 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20syst=C3=A8me=20de=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 0 tests.py | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 __init__.py create mode 100644 tests.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests.py b/tests.py new file mode 100644 index 0000000..43ded0a --- /dev/null +++ b/tests.py @@ -0,0 +1,13 @@ +import unittest + +from main import is_hello_world + + +class TestProject(unittest.TestCase): + + def test_when_text_is_hello_world_with_maj_then_work(self): + self.assertTrue(is_hello_world("Hello World")) + + +if __name__ == '__main__': + unittest.main()