From 12496d311f985946bd308771664f83c3651bc29d Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Sat, 8 Oct 2022 14:19:22 +0800 Subject: [PATCH] updated unit tests --- tests/{test_other_functions.py => test_demos.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename tests/{test_other_functions.py => test_demos.py} (86%) diff --git a/tests/test_other_functions.py b/tests/test_demos.py similarity index 86% rename from tests/test_other_functions.py rename to tests/test_demos.py index b788c66..c933f8f 100644 --- a/tests/test_other_functions.py +++ b/tests/test_demos.py @@ -8,5 +8,5 @@ class TestCaseDemoFunction(unittest.TestCase): def test_demo_function(self): # flip test image self.assertTrue( - a_demo_function(1) is None + a_demo_function(None) == 1 ) -- GitLab