diff options
Diffstat (limited to 'ice_validator')
-rw-r--r-- | ice_validator/tests/helpers.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ice_validator/tests/helpers.py b/ice_validator/tests/helpers.py index 94effed..fefa8de 100644 --- a/ice_validator/tests/helpers.py +++ b/ice_validator/tests/helpers.py @@ -305,9 +305,7 @@ def parameter_type_to_heat_type(parameter): parameter_type = "string" elif isinstance(parameter, dict): parameter_type = "json" - elif isinstance(parameter, int): - parameter_type = "number" - elif isinstance(parameter, float): + elif isinstance(parameter, int) or isinstance(parameter, float): parameter_type = "number" elif isinstance(parameter, bool): parameter_type = "boolean" |