forked from p15670423/monkey
UT: Add null byte case in CustomPBAConfigurationSchema linux filename validation test
This commit is contained in:
parent
a9b9a13c40
commit
35c2cf26e8
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue