def test_should_poll(self):
        self.assertTrue(self.rs.should_poll)
        self.rs._command_state = None
        self.assertFalse(self.rs.should_poll)
Test the setting of polling.
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/rollershutter/test_command_line.py/TestCommandRollerShutter.test_should_poll