Code Review
/
vvp
/
validation-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[VVP] add decorators to test cases
[vvp/validation-scripts.git]
/
ice_validator
/
tests
/
test_heat_numeric_parameters.py
diff --git
a/ice_validator/tests/test_heat_numeric_parameters.py
b/ice_validator/tests/test_heat_numeric_parameters.py
index
e439015
..
ef29987
100644
(file)
--- a/
ice_validator/tests/test_heat_numeric_parameters.py
+++ b/
ice_validator/tests/test_heat_numeric_parameters.py
@@
-37,11
+37,12
@@
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
-
+from .helpers import validates
import pytest
import yaml
import pytest
import yaml
+@validates('R-88863')
def test_numeric_parameter(yaml_file):
'''
Make sure all numeric parameters has either `range` or `allowed_values`
def test_numeric_parameter(yaml_file):
'''
Make sure all numeric parameters has either `range` or `allowed_values`