UT: Add null byte case in CustomPBAConfigurationSchema linux filename validation test

This commit is contained in:
Shreya Malviya 2022-07-26 18:52:59 +05:30
parent a9b9a13c40
commit 35c2cf26e8
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ def test_custom_pba_configuration_schema__empty_filenames_allowed():
assert config.windows_filename == ""
@pytest.mark.parametrize("linux_filename", ["\\", "\\\\\\"])
@pytest.mark.parametrize("linux_filename", ["\\", "\\\\\\", "\0"])
def test_custom_pba_configuration_schema__invalid_linux_filename(linux_filename):
schema = CustomPBAConfigurationSchema()