From 8361ed14534bf68a8228a8c3d794b2ff9f0a41f8 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 26 Jul 2022 19:02:12 +0530 Subject: [PATCH] UT: Update cases for CustomPBAConfigurationSchema's linux filename validation test --- .../unit_tests/common/configuration/test_agent_configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/tests/unit_tests/common/configuration/test_agent_configuration.py b/monkey/tests/unit_tests/common/configuration/test_agent_configuration.py index f32337e71..d7e4bebd4 100644 --- a/monkey/tests/unit_tests/common/configuration/test_agent_configuration.py +++ b/monkey/tests/unit_tests/common/configuration/test_agent_configuration.py @@ -83,7 +83,7 @@ def test_custom_pba_configuration_schema__empty_filenames_allowed(): assert config.windows_filename == "" -@pytest.mark.parametrize("linux_filename", ["\\", "\\\\\\", "\0"]) +@pytest.mark.parametrize("linux_filename", ["/", "/abc/", "\0"]) def test_custom_pba_configuration_schema__invalid_linux_filename(linux_filename): schema = CustomPBAConfigurationSchema()