diff --git a/tests/ush/python_utils/test_misc.py b/tests/ush/python_utils/test_misc.py index f00ef6c33..338a3df0b 100644 --- a/tests/ush/python_utils/test_misc.py +++ b/tests/ush/python_utils/test_misc.py @@ -2,17 +2,22 @@ from ush.python_utils.misc import * class TestMisc: + """Test the misc.py functions.""" def test_uc(self): + """Test the uppercase() function.""" assert uppercase('s') == 'S' def test_lc(self): + """Test the lowercase() function.""" assert lowercase('S') == 's' def test_find_pattern_in_str(self): + """Test the find_pattern_in_str() function.""" assert not find_pattern_in_str('.', 's') def test_find_pattern_in_fike(self): + """Test the find_pattern_in_file() function.""" f = open("test_misc.txt", "w") f.write("Hello World from " + f.name) f.close()