From 2bf081c0fca401f12278baa2a61d9d4c7f315249 Mon Sep 17 00:00:00 2001 From: Bentozox Date: Mon, 10 Oct 2022 11:33:35 +0200 Subject: [PATCH] test2 that should fail --- main.py | 5 ----- tests.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/main.py b/main.py index 0641435..d50f7e1 100644 --- a/main.py +++ b/main.py @@ -7,8 +7,3 @@ def is_hello_world(text : str): return text is not None and text.strip().lower() == "hello world" - - - -print(is_hello_world("ok")) -print(is_hello_world("Hello World")) \ No newline at end of file diff --git a/tests.py b/tests.py index 9ac0569..730b5f0 100644 --- a/tests.py +++ b/tests.py @@ -6,7 +6,7 @@ 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")) + self.assertTrue(is_hello_world("Hello world NOOOO")) if __name__ == '__main__':