def test_build_id_param_shorten_id(self): p = BuildIDParam() p.value = "x" * 63 val = p.value assert len(val) == 63
def test_build_id_param_shorten_id(self): p = BuildIDParam() p.value = "x" * 63 val = p.value assert len(val) == 63
def test_build_id_param_raise_exc(self): p = BuildIDParam() with pytest.raises(OsbsValidationException): p.value = r"\\\\@@@@||||"
def test_build_id_param_raise_exc(self): p = BuildIDParam() with pytest.raises(OsbsValidationException): p.value = r"\\\\@@@@||||"