forked from p15670423/monkey
UT: Update cases for CustomPBAConfigurationSchema's linux filename validation test
This commit is contained in:
parent
a017a66137
commit
8361ed1453
|
@ -83,7 +83,7 @@ def test_custom_pba_configuration_schema__empty_filenames_allowed():
|
||||||
assert config.windows_filename == ""
|
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):
|
def test_custom_pba_configuration_schema__invalid_linux_filename(linux_filename):
|
||||||
schema = CustomPBAConfigurationSchema()
|
schema = CustomPBAConfigurationSchema()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue