Skip to content

Commit 84b2f0b

Browse files
committed
modify test id name
1 parent 47288aa commit 84b2f0b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests_pytest/common_tests/unit_tests/core/progress_config/test_progress_control_module.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ class TestProgessInfoController:
5050
@pytest.mark.parametrize(
5151
"total_step, callback_function, expected",
5252
[
53-
pytest.param(-1, None, None, id="no_callback_no_steps"),
54-
pytest.param(1, None, None, id="no_callback_with_steps"),
55-
pytest.param(0, CheckCallBackFunction(), None, id="with_callback_no_steps"),
56-
pytest.param(2, CheckCallBackFunction(), ProgressInfoController, id="with_callback_and_steps"),
57-
pytest.param(2, check_callback_function, ProgressInfoController, id="with_callback_function_and_steps"),
53+
pytest.param(-1, None, None, id="unset_callback_and_no_steps"),
54+
pytest.param(1, None, None, id="unset_callback_and_with_steps"),
55+
pytest.param(0, CheckCallBackFunction(), None, id="set_callback_and_no_steps"),
56+
pytest.param(2, CheckCallBackFunction(), ProgressInfoController, id="set_callback_and_steps"),
57+
pytest.param(2, check_callback_function, ProgressInfoController, id="set_callback_function_and_steps"),
5858
],
5959
)
6060
def test_progress_info_controller_initalize(self, total_step, callback_function, expected):
@@ -156,7 +156,7 @@ def test_progress_info_controller_invalid_count_check(self):
156156
@pytest.mark.parametrize(
157157
"callback_function, expected",
158158
[
159-
pytest.param(None, None, id="not_set_callback"),
159+
pytest.param(None, None, id="unset_callback"),
160160
pytest.param(check_callback_function, Callable, id="set_callback_of_function"),
161161
pytest.param(CheckCallBackFunction(), CheckCallBackFunction, id="set_callback_of_class"),
162162
],

0 commit comments

Comments
 (0)