@@ -39,6 +39,7 @@ def test_fetch_response(self):
3939 "channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4040 "date_created": "2016-03-24T20:37:57Z",
4141 "date_updated": "2016-03-24T20:37:57Z",
42+ "last_updated_by": null,
4243 "was_edited": false,
4344 "from": "system",
4445 "attributes": "{}",
@@ -69,6 +70,7 @@ def test_fetch_media_response(self):
6970 "channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7071 "date_created": "2016-03-24T20:37:57Z",
7172 "date_updated": "2016-03-24T20:37:57Z",
73+ "last_updated_by": null,
7274 "was_edited": false,
7375 "from": "system",
7476 "attributes": "{}",
@@ -123,6 +125,7 @@ def test_create_response(self):
123125 "attributes": null,
124126 "date_created": "2016-03-24T20:37:57Z",
125127 "date_updated": "2016-03-24T20:37:57Z",
128+ "last_updated_by": "system",
126129 "was_edited": false,
127130 "from": "system",
128131 "body": "Hello",
@@ -140,7 +143,7 @@ def test_create_response(self):
140143
141144 self .assertIsNotNone (actual )
142145
143- def test_create_with_attributes_response (self ):
146+ def test_create_with_all_response (self ):
144147 self .holodeck .mock (Response (
145148 201 ,
146149 '''
@@ -150,11 +153,12 @@ def test_create_with_attributes_response(self):
150153 "service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
151154 "to": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
152155 "channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
153- "date_created": "2016-03-24T20:37:57Z",
154- "date_updated": "2016-03-24T20:37:57Z",
155- "was_edited": false,
156+ "date_created": "2015-12-16T22:18:37Z",
157+ "date_updated": "2015-12-16T22:18:38Z",
158+ "last_updated_by": "username",
159+ "was_edited": true,
156160 "from": "system",
157- "attributes": "{}",
161+ "attributes": "{\\ "test \\ ": \\ "test \\ " }",
158162 "body": "Hello",
159163 "index": 0,
160164 "type": "text",
@@ -206,6 +210,7 @@ def test_read_full_response(self):
206210 "channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
207211 "date_created": "2016-03-24T20:37:57Z",
208212 "date_updated": "2016-03-24T20:37:57Z",
213+ "last_updated_by": null,
209214 "was_edited": false,
210215 "from": "system",
211216 "attributes": "{}",
@@ -223,6 +228,7 @@ def test_read_full_response(self):
223228 "channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
224229 "date_created": "2016-03-24T20:37:57Z",
225230 "date_updated": "2016-03-24T20:37:57Z",
231+ "last_updated_by": null,
226232 "was_edited": false,
227233 "from": "system",
228234 "attributes": "{}",
@@ -321,10 +327,11 @@ def test_update_response(self):
321327 "service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
322328 "to": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
323329 "channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
324- "attributes": "{\\ "test\\ ": \\ "test\\ "}",
325- "date_created": "2016-03-24T20:37:57Z",
326- "date_updated": "2016-03-24T20:37:57Z",
327- "was_edited": false,
330+ "attributes": "{ \\ "foo\\ ": \\ "bar\\ " }",
331+ "date_created": "2015-12-16T22:18:37Z",
332+ "date_updated": "2015-12-16T22:18:38Z",
333+ "last_updated_by": "username",
334+ "was_edited": true,
328335 "from": "system",
329336 "body": "Hello",
330337 "index": 0,
0 commit comments