'Test turn on vacuum.'

def test_turn_on(self):

    device1 = _get_vacuum_device_charging()
    component1 = Dyson360EyeDevice(device1)
    component1.turn_on()
    self.assertTrue(device1.start.called)
    device2 = _get_vacuum_device_pause()
    component2 = Dyson360EyeDevice(device2)
    component2.turn_on()
    self.assertTrue(device2.resume.called)
