(self)
| 62 | self.device.read(1000001) |
| 63 | |
| 64 | def test_play_raw(self): |
| 65 | for args in test_data["test_raw_ok"]: |
| 66 | with self.subTest(): |
| 67 | self.device._reset_state() |
| 68 | self.assertTrue(self.device.play_raw(*args["in"])) |
| 69 | self.assertSequenceEqual( |
| 70 | self.device.state["last_ir_played"], args["out"] |
| 71 | ) |
| 72 | |
| 73 | def test_pronto_to_raw(self): |
| 74 | for args in test_data["test_pronto_ok"]: |
nothing calls this directly
no test coverage detected