Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrxyz committed Mar 6, 2024
1 parent ea2f129 commit 1d2a484
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ def test_correct_response(self):
self.assertFalse(self.get_srv(GetValveRequest(0)).opened)
self.assertTrue(self.set_srv(SetValveRequest(0, False)).success)
self.assertFalse(self.get_srv(GetValveRequest(0)).opened)
self.assertTrue(self.set_srv(SetValveRequest(3, True)).success)
self.assertTrue(self.get_srv(GetValveRequest(3)).opened)
self.assertTrue(self.set_srv(SetValveRequest(1, True)).success)
self.assertTrue(self.get_srv(GetValveRequest(1)).opened)
self.assertFalse(self.get_srv(GetValveRequest(0)).opened)
self.assertTrue(self.set_srv(SetValveRequest(4, False)).success)
self.assertFalse(self.get_srv(GetValveRequest(4)).opened)
self.assertTrue(self.set_srv(SetValveRequest(2, False)).success)
self.assertFalse(self.get_srv(GetValveRequest(2)).opened)
self.assertFalse(self.get_srv(GetValveRequest(0)).opened)


Expand Down

0 comments on commit 1d2a484

Please sign in to comment.