def test_validate_ps_forbidden_regex(pattern): with pytest.raises(MKUserError): forbid_re_delimiters_inside_groups(pattern, '')
def test_validate_ps_allowed_regex(pattern): assert forbid_re_delimiters_inside_groups(pattern, '') is None
def test_validate_ps_forbidden_regex(pattern): with pytest.raises(MKUserError): forbid_re_delimiters_inside_groups(pattern, '')
def test_validate_ps_allowed_regex(pattern): assert forbid_re_delimiters_inside_groups(pattern, '') is None