We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e2c2b1 commit 4b996cdCopy full SHA for 4b996cd
1 file changed
tests/scenarios/wsen_pads.yaml
@@ -55,7 +55,7 @@ tests:
55
- name: "Read temperature returns float"
56
action: call
57
method: temperature
58
- expect: 25.0
+ expect_range: [24.9, 25.1]
59
mode: [mock]
60
61
- name: "Temperature with offset"
@@ -74,6 +74,15 @@ tests:
74
expect_range: [19.0, 21.0]
75
76
77
+ - name: "Read applies temperature calibration"
78
+ action: script
79
+ script: |
80
+ dev.set_temp_offset(-2.0)
81
+ _, temp = dev.read()
82
+ result = temp
83
+ expect_range: [22.0, 24.0]
84
+ mode: [mock]
85
+
86
- name: "Pressure in plausible range"
87
88
method: pressure
0 commit comments