'This test case checks if \'_do_request()\' method returns
appropriate status (this returned by request method) and result
(None), while status_code returned by request is not in one of fourth
eligible statuses'

@mock.patch.object(requests, 'request')
def test_do_request_other_status(self, request_mock):

    request_mock.return_value.status_code = requests.codes.NOT_FOUND
    request_mock.return_value.text = '{"test":    "test"}'
    attestation_service = trusted_filter.AttestationService()
    (status, result) = attestation_service._do_request('POST', 'PollHosts', {}, {})
    self.assertEqual(requests.codes.NOT_FOUND, status)
    self.assertIsNone(result)
