From 2d617bb5ca6c6e65b7f836272ec2d4c6d79ed9be Mon Sep 17 00:00:00 2001 From: 01382037 Date: Wed, 11 Nov 2020 16:16:52 +0800 Subject: [PATCH] tests: add test --- tests/utils_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/utils_test.py b/tests/utils_test.py index b03d7162..df51c2c0 100644 --- a/tests/utils_test.py +++ b/tests/utils_test.py @@ -49,6 +49,7 @@ class TestUtils(unittest.TestCase): functions_mapping["contains"](["1", "2"], "1") functions_mapping["contains"]({"a": 1, "b": 2}, "a") functions_mapping["contained_by"]("3ab", "123abc456") + functions_mapping["contained_by"](0, [0, 200]) functions_mapping["regex_match"]("123abc456", "^123\w+456$") with self.assertRaises(AssertionError):