'Test exception being handled.'

@unittest.mock.patch('requests.get', side_effect=mocked_exception)
def test_exception_handling(self, req_mock):

    config = {'platform': 'radarr', 'api_key': 'foo', 'days': '1', 'unit': 'GB', 'include_paths': ['/data'], 'monitored_conditions': ['upcoming']}
    radarr.setup_platform(self.hass, config, self.add_devices, None)
    for device in self.DEVICES:
        device.update()
        self.assertEqual(None, device.state)
