'Test update when a request exception occurs.'

@patch('requests.Session', side_effect=RequestException)
def test_update_request_exception(self, mock_req):

    self.rest.update()
    self.assertEqual(None, self.rest.data)
