Skip to content

Commit

Permalink
First pass at tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMysteriousX committed Mar 10, 2024
1 parent 1829db3 commit d649832
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions tests/data/hirschmann.json
Original file line number Diff line number Diff line change
Expand Up @@ -3921,7 +3921,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmLEDRSPowerSupp",
"entPhysicalIndex": "hmLEDRSPowerSupply.0",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
Expand All @@ -3946,7 +3946,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmLEDRSRedundanc",
"entPhysicalIndex": "hmLEDRSRedundancyManager.0",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
Expand Down Expand Up @@ -3996,7 +3996,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmPowerSupplySta",
"entPhysicalIndex": "hmPowerSupplyStatus1.1",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
Expand All @@ -4021,7 +4021,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmPowerSupplySta",
"entPhysicalIndex": "hmPowerSupplyStatus1.2",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
Expand Down Expand Up @@ -4242,7 +4242,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmLEDRSPowerSupp",
"entPhysicalIndex": "hmLEDRSPowerSupply.0",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
Expand All @@ -4267,7 +4267,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmLEDRSRedundanc",
"entPhysicalIndex": "hmLEDRSRedundancyManager.0",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
Expand Down Expand Up @@ -4317,7 +4317,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmPowerSupplySta",
"entPhysicalIndex": "hmPowerSupplyStatus1.1",
"entPhysicalIndex_measured": null,
"sensor_prev": 0,
"user_func": null,
Expand All @@ -4342,7 +4342,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmPowerSupplySta",
"entPhysicalIndex": "hmPowerSupplyStatus1.2",
"entPhysicalIndex_measured": null,
"sensor_prev": 0,
"user_func": null,
Expand Down
8 changes: 4 additions & 4 deletions tests/data/hirschmann_ms4128.json
Original file line number Diff line number Diff line change
Expand Up @@ -4069,7 +4069,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmPowerSupplySta",
"entPhysicalIndex": "hmPowerSupplyStatus1.1",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
Expand All @@ -4094,7 +4094,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmPowerSupplySta",
"entPhysicalIndex": "hmPowerSupplyStatus1.2",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
Expand Down Expand Up @@ -4538,7 +4538,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmPowerSupplySta",
"entPhysicalIndex": "hmPowerSupplyStatus1.1",
"entPhysicalIndex_measured": null,
"sensor_prev": 0,
"user_func": null,
Expand All @@ -4563,7 +4563,7 @@
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "hmPowerSupplySta",
"entPhysicalIndex": "hmPowerSupplyStatus1.2",
"entPhysicalIndex_measured": null,
"sensor_prev": 0,
"user_func": null,
Expand Down

0 comments on commit d649832

Please sign in to comment.