OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:server_errors
(Results
1 - 13
of
13
) sorted by null
/external/autotest/client/common_lib/cros/fake_device_server/
commands.py
14
from fake_device_server import
server_errors
76
raise
server_errors
.HTTPError(
80
raise
server_errors
.HTTPError(
84
raise
server_errors
.HTTPError(
112
server_errors
.HTTPError if the device doesn't exist.
120
raise
server_errors
.HTTPError(400, 'Unsupported API')
122
raise
server_errors
.HTTPError(
128
raise
server_errors
.HTTPError(401, 'Access denied.')
147
raise
server_errors
.HTTPError(
159
raise
server_errors
.HTTPError(400, 'Require JSON body'
[
all
...]
fail_control.py
9
from fake_device_server import
server_errors
32
raise
server_errors
.HTTPError(500, 'Instructed to fail this request')
47
raise
server_errors
.HTTPError(
registration_tickets.py
14
from fake_device_server import
server_errors
59
raise
server_errors
.HTTPError(400, 'Unclaimed ticket')
75
server_errors
.HTTPError if there is an authorization error.
79
raise
server_errors
.HTTPError(401, 'Missing Authorization.')
84
raise
server_errors
.HTTPError(400, 'Malformed Authorization field')
90
raise
server_errors
.HTTPError(403, 'Authorization requires '
93
raise
server_errors
.HTTPError(403, 'Wrong access token.')
104
server_errors
.HTTPError if the ticket doesn't exist.
122
server_errors
.HTTPError if the ticket should exist but doesn't
133
raise
server_errors
.HTTPError
[
all
...]
common_util.py
12
from fake_device_server import
server_errors
78
raise
server_errors
.HTTPError(
82
raise
server_errors
.HTTPError(
87
raise
server_errors
.HTTPError(
resource_delegate.py
11
from fake_device_server import
server_errors
40
server_errors
.HTTPError if the data_val doesn't exist.
48
raise
server_errors
.HTTPError(400, 'Invalid data key: %r' % (key,))
64
server_errors
.HTTPError if the data_val doesn't exist.
71
raise
server_errors
.HTTPError(400, 'Invalid data key: %r' % (key,))
87
server_errors
.HTTPError if the id is non-None and not in self._data.
111
raise
server_errors
.HTTPError(400, "Ticket id doesn't match")
resource_method.py
11
from fake_device_server import
server_errors
34
server_errors
.HTTPError if the resource doesn't exist.
38
server_errors
.HTTPError(400, 'Missing id for operation')
54
server_errors
.HTTPError if the resource doesn't exist.
58
server_errors
.HTTPError(400, 'Missing id for operation')
commands_unittest.py
17
from fake_device_server import
server_errors
64
self.assertRaises(
server_errors
.HTTPError,
70
self.assertRaises(
server_errors
.HTTPError,
86
self.assertRaises(
server_errors
.HTTPError,
devices_unittest.py
18
from fake_device_server import
server_errors
51
self.assertRaises(
server_errors
.HTTPError,
62
self.assertRaises(
server_errors
.HTTPError,
92
self.assertRaises(
server_errors
.HTTPError,
devices.py
14
from fake_device_server import
server_errors
67
raise
server_errors
.HTTPError(400, 'Empty device resource.')
71
raise
server_errors
.HTTPError(400, 'Must specify %s' % key)
86
@raises
server_errors
.HTTPError: if the config is missing a required key
106
server_errors
.HTTPError if the device doesn't exist.
136
raise
server_errors
.HTTPError(400, 'Unsupported operation.')
176
raise
server_errors
.HTTPError(401, 'Access denied.')
195
server_errors
.HTTPError if the device doesn't exist.
common_util_unittest.py
16
from fake_device_server import
server_errors
77
self.assertRaises(
server_errors
.HTTPError,
82
self.assertRaises(
server_errors
.HTTPError,
registration_tickets_unittest.py
20
from fake_device_server import
server_errors
49
self.assertRaises(
server_errors
.HTTPError,
86
self.assertRaises(
server_errors
.HTTPError,
127
self.assertRaises(
server_errors
.HTTPError,
oauth.py
11
from fake_device_server import
server_errors
100
raise
server_errors
.HTTPError(
resource_method_unittest.py
16
from fake_device_server import
server_errors
67
self.assertRaises(
server_errors
.HTTPError,
Completed in 226 milliseconds