Skip to content
Snippets Groups Projects
Commit 1109b2d8 authored by Robert Habermann's avatar Robert Habermann
Browse files

rename response.* to result.*

parent c6c226c9
No related branches found
No related tags found
No related merge requests found
......@@ -782,9 +782,9 @@ class ClientTests(unittest.TestCase):
client._parse_and_validate_response(mocked_response)
self.assertEqual(client.response_type, 'TicketID')
self.assertDictEqual(client.result_json, {u'ArticleID' : u'26',
u'TicketID' : u'9',
u'TicketNumber': u'000008'})
self.assertDictEqual(client.result_json, {u'ArticleID': u'26',
u'TicketID': u'9',
u'TicketNumber': u'000008'})
def test__validate_response_operation_ticket_update(self):
"""Test _validate_response with TicketUpdate"""
......@@ -797,8 +797,8 @@ class ClientTests(unittest.TestCase):
client._parse_and_validate_response(mocked_response)
self.assertEqual(client.response_type, 'TicketID')
self.assertDictEqual(client.result_json, {u'TicketID' : u'9',
u'TicketNumber': u'000008'})
self.assertDictEqual(client.result_json, {u'TicketID': u'9',
u'TicketNumber': u'000008'})
def test__validate_response_operation_ticket_search(self):
"""Test _validate_response with TicketSearch"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment