|
8 | 8 | <td valign=bottom> <br> |
9 | 9 | <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="atom.html"><font color="#ffffff">atom</font></a>.mock_http</strong></big></big></font></td |
10 | 10 | ><td align=right valign=bottom |
11 | | -><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/svn/gdata-python-client-release/src/atom/mock_http.py">/usr/local/svn/gdata-python-client-release/src/atom/mock_http.py</a></font></td></tr></table> |
| 11 | +><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/svn/gdata-python-client/src/atom/mock_http.py">/usr/local/svn/gdata-python-client/src/atom/mock_http.py</a></font></td></tr></table> |
12 | 12 | <p><tt># Copyright (C) 2008 Google Inc.<br> |
13 | 13 | #<br> |
14 | 14 | # Licensed under the Apache License, Version 2.0 (the "License");<br> |
|
56 | 56 | <dt><font face="helvetica, arial"><a href="atom.mock_http.html#MockResponse">MockResponse</a> |
57 | 57 | </font></dt></dl> |
58 | 58 | </dd> |
59 | | -<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a> |
| 59 | +<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) |
60 | 60 | </font></dt><dd> |
61 | 61 | <dl> |
62 | 62 | <dt><font face="helvetica, arial"><a href="atom.mock_http.html#Error">Error</a> |
|
75 | 75 | <font color="#000000" face="helvetica, arial"><a name="Error">class <strong>Error</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> |
76 | 76 |
|
77 | 77 | <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
78 | | -<td width="100%">Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
79 | | -<dl><dt><a name="Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl> |
| 78 | +<td width="100%"><dl><dt>Method resolution order:</dt> |
| 79 | +<dd><a href="atom.mock_http.html#Error">Error</a></dd> |
| 80 | +<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 81 | +<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 82 | +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 83 | +</dl> |
| 84 | +<hr> |
| 85 | +Data descriptors defined here:<br> |
| 86 | +<dl><dt><strong>__weakref__</strong></dt> |
| 87 | +<dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 88 | +</dl> |
| 89 | +<hr> |
| 90 | +Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 91 | +<dl><dt><a name="Error-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> |
| 92 | + |
| 93 | +<hr> |
| 94 | +Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 95 | +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x722d20><dd><tt>T.<a href="#Error-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
| 96 | + |
| 97 | +<hr> |
| 98 | +Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 99 | +<dl><dt><a name="Error-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> |
| 100 | + |
| 101 | +<dl><dt><a name="Error-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
80 | 102 |
|
81 | | -<dl><dt><a name="Error-__init__"><strong>__init__</strong></a>(...)</dt></dl> |
| 103 | +<dl><dt><a name="Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
82 | 104 |
|
83 | | -<dl><dt><a name="Error-__str__"><strong>__str__</strong></a>(...)</dt></dl> |
| 105 | +<dl><dt><a name="Error-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> |
| 106 | + <br> |
| 107 | +Use of negative indices is not supported.</tt></dd></dl> |
| 108 | + |
| 109 | +<dl><dt><a name="Error-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> |
| 110 | + |
| 111 | +<dl><dt><a name="Error-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 112 | + |
| 113 | +<dl><dt><a name="Error-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> |
84 | 114 |
|
| 115 | +<dl><dt><a name="Error-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> |
| 116 | + |
| 117 | +<dl><dt><a name="Error-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__str__">__str__</a>() <==> str(x)</tt></dd></dl> |
| 118 | + |
| 119 | +<hr> |
| 120 | +Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 121 | +<dl><dt><strong>__dict__</strong></dt> |
| 122 | +</dl> |
| 123 | +<dl><dt><strong>args</strong></dt> |
| 124 | +</dl> |
| 125 | +<dl><dt><strong>message</strong></dt> |
| 126 | +<dd><tt>exception message</tt></dd> |
| 127 | +</dl> |
85 | 128 | </td></tr></table> <p> |
86 | 129 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
87 | 130 | <tr bgcolor="#ffc8d8"> |
|
146 | 189 |
|
147 | 190 | <dl><dt><a name="MockHttpClient-put"><strong>put</strong></a>(self, url, data, headers<font color="#909090">=None</font>)</dt></dl> |
148 | 191 |
|
| 192 | +<hr> |
| 193 | +Data descriptors inherited from <a href="atom.http_interface.html#GenericHttpClient">atom.http_interface.GenericHttpClient</a>:<br> |
| 194 | +<dl><dt><strong>__dict__</strong></dt> |
| 195 | +<dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 196 | +</dl> |
| 197 | +<dl><dt><strong>__weakref__</strong></dt> |
| 198 | +<dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 199 | +</dl> |
149 | 200 | <hr> |
150 | 201 | Data and other attributes inherited from <a href="atom.http_interface.html#GenericHttpClient">atom.http_interface.GenericHttpClient</a>:<br> |
151 | | -<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl> |
152 | | - |
153 | | -<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'GenericHttpClient' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl> |
154 | | - |
155 | 202 | <dl><dt><strong>debug</strong> = False</dl> |
156 | 203 |
|
157 | 204 | </td></tr></table> <p> |
|
167 | 214 | <dl><dt><a name="MockRequest-__init__"><strong>__init__</strong></a>(self, operation, url, data<font color="#909090">=None</font>, headers<font color="#909090">=None</font>)</dt></dl> |
168 | 215 |
|
169 | 216 | <hr> |
170 | | -Data and other attributes defined here:<br> |
171 | | -<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl> |
172 | | - |
173 | | -<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'MockRequest' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl> |
174 | | - |
| 217 | +Data descriptors defined here:<br> |
| 218 | +<dl><dt><strong>__dict__</strong></dt> |
| 219 | +<dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 220 | +</dl> |
| 221 | +<dl><dt><strong>__weakref__</strong></dt> |
| 222 | +<dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 223 | +</dl> |
175 | 224 | </td></tr></table> <p> |
176 | 225 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
177 | 226 | <tr bgcolor="#ffc8d8"> |
|
197 | 246 | <dl><dt><a name="MockResponse-getheader"><strong>getheader</strong></a>(self, name, default<font color="#909090">=None</font>)</dt></dl> |
198 | 247 |
|
199 | 248 | <hr> |
200 | | -Data and other attributes inherited from <a href="atom.http_interface.html#HttpResponse">atom.http_interface.HttpResponse</a>:<br> |
201 | | -<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl> |
202 | | - |
203 | | -<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'HttpResponse' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl> |
204 | | - |
| 249 | +Data descriptors inherited from <a href="atom.http_interface.html#HttpResponse">atom.http_interface.HttpResponse</a>:<br> |
| 250 | +<dl><dt><strong>__dict__</strong></dt> |
| 251 | +<dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 252 | +</dl> |
| 253 | +<dl><dt><strong>__weakref__</strong></dt> |
| 254 | +<dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 255 | +</dl> |
205 | 256 | </td></tr></table> <p> |
206 | 257 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
207 | 258 | <tr bgcolor="#ffc8d8"> |
|
213 | 264 | <dd><a href="atom.mock_http.html#NoRecordingFound">NoRecordingFound</a></dd> |
214 | 265 | <dd><a href="atom.mock_http.html#Error">Error</a></dd> |
215 | 266 | <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 267 | +<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 268 | +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 269 | +</dl> |
| 270 | +<hr> |
| 271 | +Data descriptors inherited from <a href="atom.mock_http.html#Error">Error</a>:<br> |
| 272 | +<dl><dt><strong>__weakref__</strong></dt> |
| 273 | +<dd><tt>list of weak references to the object (if defined)</tt></dd> |
216 | 274 | </dl> |
217 | 275 | <hr> |
218 | 276 | Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
219 | | -<dl><dt><a name="NoRecordingFound-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl> |
| 277 | +<dl><dt><a name="NoRecordingFound-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#NoRecordingFound-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> |
220 | 278 |
|
221 | | -<dl><dt><a name="NoRecordingFound-__init__"><strong>__init__</strong></a>(...)</dt></dl> |
| 279 | +<hr> |
| 280 | +Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 281 | +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x722d20><dd><tt>T.<a href="#NoRecordingFound-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> |
222 | 282 |
|
223 | | -<dl><dt><a name="NoRecordingFound-__str__"><strong>__str__</strong></a>(...)</dt></dl> |
| 283 | +<hr> |
| 284 | +Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 285 | +<dl><dt><a name="NoRecordingFound-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoRecordingFound-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> |
224 | 286 |
|
| 287 | +<dl><dt><a name="NoRecordingFound-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#NoRecordingFound-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 288 | + |
| 289 | +<dl><dt><a name="NoRecordingFound-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#NoRecordingFound-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 290 | + |
| 291 | +<dl><dt><a name="NoRecordingFound-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#NoRecordingFound-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> |
| 292 | + <br> |
| 293 | +Use of negative indices is not supported.</tt></dd></dl> |
| 294 | + |
| 295 | +<dl><dt><a name="NoRecordingFound-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> |
| 296 | + |
| 297 | +<dl><dt><a name="NoRecordingFound-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoRecordingFound-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 298 | + |
| 299 | +<dl><dt><a name="NoRecordingFound-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoRecordingFound-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> |
| 300 | + |
| 301 | +<dl><dt><a name="NoRecordingFound-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> |
| 302 | + |
| 303 | +<dl><dt><a name="NoRecordingFound-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#NoRecordingFound-__str__">__str__</a>() <==> str(x)</tt></dd></dl> |
| 304 | + |
| 305 | +<hr> |
| 306 | +Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 307 | +<dl><dt><strong>__dict__</strong></dt> |
| 308 | +</dl> |
| 309 | +<dl><dt><strong>args</strong></dt> |
| 310 | +</dl> |
| 311 | +<dl><dt><strong>message</strong></dt> |
| 312 | +<dd><tt>exception message</tt></dd> |
| 313 | +</dl> |
225 | 314 | </td></tr></table></td></tr></table><p> |
226 | 315 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
227 | 316 | <tr bgcolor="#55aa55"> |
|
0 commit comments