@@ -58,26 +58,26 @@ class TestFloatParams:
58
58
def test_float_param_value (self ):
59
59
"""Testing if float params correctly returns a value."""
60
60
environ ["FLOAT_VALUE_TEST" ] = "123.456"
61
- assert params .FloatParam ("FLOAT_VALUE_TEST" ,).value == 123.456 , \
61
+ assert params ._FloatParam ("FLOAT_VALUE_TEST" ,).value == 123.456 , \
62
62
"Failure, params value != 123.456"
63
63
64
64
def test_float_param_empty_default (self ):
65
65
"""Testing if float params defaults to empty float if no value and no default."""
66
- assert params .FloatParam ("FLOAT_DEFAULT_TEST1" ).value == float (), \
66
+ assert params ._FloatParam ("FLOAT_DEFAULT_TEST1" ).value == float (), \
67
67
"Failure, params value is not float"
68
68
69
69
def test_float_param_default (self ):
70
70
"""Testing if float param defaults to provided default value."""
71
- assert params .FloatParam ("FLOAT_DEFAULT_TEST2" ,
71
+ assert params ._FloatParam ("FLOAT_DEFAULT_TEST2" ,
72
72
default = float (456.789 )).value == 456.789 , \
73
73
"Failure, params default value != 456.789"
74
74
75
75
def test_float_param_equality (self ):
76
76
"""Test float equality."""
77
- assert (params .FloatParam ("FLOAT_TEST1" ,
77
+ assert (params ._FloatParam ("FLOAT_TEST1" ,
78
78
default = 123.456 ).equals (123.456 ).value
79
79
is True ), "Failure, equality check returned False"
80
- assert (params .FloatParam ("FLOAT_TEST2" ,
80
+ assert (params ._FloatParam ("FLOAT_TEST2" ,
81
81
default = 456.789 ).equals (123.456 ).value
82
82
is False ), "Failure, equality check returned False"
83
83
0 commit comments