Skip to content

Commit 014a7a0

Browse files
committed
Update tests.
1 parent 14bcc6a commit 014a7a0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/mocked_replies/crownstone_data.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Mock replies from the cloud for Crownstone data."""
2+
13
crownstone_data = [
24
{
35
"name": "my_awesome_crownstone",
@@ -20,7 +22,7 @@
2022
"createdAt": "date_created",
2123
"updatedAt": "date_updated",
2224
"currentSwitchStateId": "switch_state_id",
23-
"currentSwitchStateV2": {
25+
"currentSwitchState": {
2426
"timestamp": "date_updated",
2527
"switchState": 0
2628
},
@@ -91,7 +93,7 @@
9193
"createdAt": "date_created",
9294
"updatedAt": "date_updated",
9395
"currentSwitchStateId": "switch_state_id",
94-
"currentSwitchStateV2": {
96+
"currentSwitchState": {
9597
"timestamp": "date_updated",
9698
"switchState": 0
9799
},

0 commit comments

Comments
 (0)