OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:returned_json
(Results
1 - 5
of
5
) sorted by null
/external/autotest/client/common_lib/cros/fake_device_server/
registration_tickets_unittest.py
58
returned_json
= self.registration.POST(1234, 'finalize')
59
self.assertEquals(
returned_json
['id'], expected_ticket['id'])
60
self.assertEquals(
returned_json
['userEmail'],
62
self.assertIn('robotAccountEmail',
returned_json
)
63
self.assertIn('robotAccountAuthorizationCode',
returned_json
)
74
returned_json
= self.registration.POST()
75
self.assertIn('id',
returned_json
)
82
returned_json
= self.registration.GET(1234)
83
self.assertEquals(
returned_json
, self.tickets[(1234, None)])
101
returned_json
= self.registration.PATCH(1234
[
all
...]
commands_unittest.py
81
returned_json
= self.commands.GET(COMMAND_ID, deviceId=DEVICE_ID)
82
self.assertEquals(
returned_json
, COMMAND_RESOURCE)
114
returned_json
= self.commands.GET(deviceId=DEVICE_ID, state=state)
116
returned_json
['kind'])
117
self.assertTrue('commands' in
returned_json
)
119
for command in
returned_json
['commands']]
devices_unittest.py
58
returned_json
= self.devices.GET(1234)
59
self.assertEquals(
returned_json
, self.devices_resource[(1234, None)])
72
returned_json
= self.devices.GET()
74
returned_json
['kind'])
75
self.assertTrue('devices' in
returned_json
)
77
self.assertIn(device,
returned_json
['devices'])
resource_method_unittest.py
41
returned_json
= self.resource_method.PATCH(1234)
42
self.assertEquals(expected_resource,
returned_json
)
56
returned_json
= self.resource_method.PUT(12345)
57
self.assertEquals(update_resource,
returned_json
)
/external/autotest/site_utils/
hwid_lib_unittest.py
98
returned_json
= '{"key1": "data1"}'
99
expected_dict = json.loads(
returned_json
)
102
wraps=cStringIO.StringIO(
returned_json
))
Completed in 383 milliseconds