'Assert that the given mock request had the expected query parameters'

def assert_query_params_equal(self, httpretty_request, expected_params):

    actual_params = dict(httpretty_request.querystring)
    actual_params.pop(u'request_id')
    self.assertEqual(actual_params, expected_params)
