Skip to content

Commit

Permalink
add power consumption to ingetration test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaedle committed Mar 1, 2019
1 parent a8aa143 commit cfe09d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@ var _ = Describe("Integration", func() {
isOn, err = h.IsOn()
Expect(err).NotTo(HaveOccurred())
Expect(isOn).To(BeTrue())

consumption, err := h.GetCurrentPowerConsumption()
Expect(err).NotTo(HaveOccurred())
Expect(consumption).NotTo(BeZero())
})
})

0 comments on commit cfe09d0

Please sign in to comment.