2 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.testing.system_stub
</title>
5 </head><body bgcolor=
"#f0f0f8">
7 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
9 <td valign=bottom
> <br>
10 <font color=
"#ffffff" face=
"helvetica, arial"> <br><big><big><strong><a href=
"telemetry.html"><font color=
"#ffffff">telemetry
</font></a>.
<a href=
"telemetry.testing.html"><font color=
"#ffffff">testing
</font></a>.system_stub
</strong></big></big></font></td
11 ><td align=right valign=bottom
12 ><font color=
"#ffffff" face=
"helvetica, arial"><a href=
".">index
</a><br><a href=
"../telemetry/testing/system_stub.py">telemetry/testing/system_stub.py
</a></font></td></tr></table>
13 <p><tt>Provides
stubs
for
os,
sys
and
subprocess
for
testing
<br>
15 This
test
allows
one
to
test
code
that
itself
uses
os,
sys,
and
subprocess.
</tt></p>
17 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
18 <tr bgcolor=
"#aa55cc">
19 <td colspan=
3 valign=bottom
> <br>
20 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Modules
</strong></big></font></td></tr>
22 <tr><td bgcolor=
"#aa55cc"><tt> </tt></td><td> </td>
23 <td width=
"100%"><table width=
"100%" summary=
"list"><tr><td width=
"25%" valign=top
><a href=
"ntpath.html">ntpath
</a><br>
24 <a href=
"os.html">os
</a><br>
25 </td><td width=
"25%" valign=top
><a href=
"posixpath.html">posixpath
</a><br>
26 <a href=
"re.html">re
</a><br>
27 </td><td width=
"25%" valign=top
><a href=
"shlex.html">shlex
</a><br>
28 <a href=
"sys.html">sys
</a><br>
29 </td><td width=
"25%" valign=top
></td></tr></table></td></tr></table><p>
30 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
31 <tr bgcolor=
"#ee77aa">
32 <td colspan=
3 valign=bottom
> <br>
33 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
35 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
37 <dt><font face=
"helvetica, arial"><a href=
"__builtin__.html#object">__builtin__.object
</a>
40 <dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#AdbDevice">AdbDevice
</a>
41 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#AdbInstallCertStub">AdbInstallCertStub
</a>
42 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#CertUtilsStub">CertUtilsStub
</a>
43 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#CloudStorageModuleStub">CloudStorageModuleStub
</a>
44 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#LoggingStub">LoggingStub
</a>
45 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#OpenFunctionStub">OpenFunctionStub
</a>
46 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#OsModuleStub">OsModuleStub
</a>
47 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#Override">Override
</a>
48 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#PerfControlModuleStub">PerfControlModuleStub
</a>
49 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#PlatformSettingsStub">PlatformSettingsStub
</a>
50 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#RawInputFunctionStub">RawInputFunctionStub
</a>
51 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#SubprocessModuleStub">SubprocessModuleStub
</a>
52 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#SysModuleStub">SysModuleStub
</a>
53 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.testing.system_stub.html#ThermalThrottleModuleStub">ThermalThrottleModuleStub
</a>
58 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
59 <tr bgcolor=
"#ffc8d8">
60 <td colspan=
3 valign=bottom
> <br>
61 <font color=
"#000000" face=
"helvetica, arial"><a name=
"AdbDevice">class
<strong>AdbDevice
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
63 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
64 <td width=
"100%">Methods defined here:
<br>
65 <dl><dt><a name=
"AdbDevice-FileExists"><strong>FileExists
</strong></a>(self, _)
</dt></dl>
67 <dl><dt><a name=
"AdbDevice-GetProp"><strong>GetProp
</strong></a>(self, property_name)
</dt></dl>
69 <dl><dt><a name=
"AdbDevice-HasRoot"><strong>HasRoot
</strong></a>(self)
</dt></dl>
71 <dl><dt><a name=
"AdbDevice-NeedsSU"><strong>NeedsSU
</strong></a>(self)
</dt></dl>
73 <dl><dt><a name=
"AdbDevice-ReadFile"><strong>ReadFile
</strong></a>(self, device_path, as_root
<font color=
"#909090">=False
</font>)
</dt></dl>
75 <dl><dt><a name=
"AdbDevice-RunShellCommand"><strong>RunShellCommand
</strong></a>(self, args, **_kwargs)
</dt></dl>
77 <dl><dt><a name=
"AdbDevice-SetProp"><strong>SetProp
</strong></a>(self, property_name, property_value)
</dt></dl>
79 <dl><dt><a name=
"AdbDevice-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
82 Data descriptors defined here:
<br>
83 <dl><dt><strong>__dict__
</strong></dt>
84 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
86 <dl><dt><strong>__weakref__
</strong></dt>
87 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
89 </td></tr></table> <p>
90 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
91 <tr bgcolor=
"#ffc8d8">
92 <td colspan=
3 valign=bottom
> <br>
93 <font color=
"#000000" face=
"helvetica, arial"><a name=
"AdbInstallCertStub">class
<strong>AdbInstallCertStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
95 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
96 <td width=
"100%">Data descriptors defined here:
<br>
97 <dl><dt><strong>__dict__
</strong></dt>
98 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
100 <dl><dt><strong>__weakref__
</strong></dt>
101 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
104 Data and other attributes defined here:
<br>
105 <dl><dt><strong>AndroidCertInstaller
</strong> =
<class 'telemetry.testing.system_stub.AndroidCertInstaller'
></dl>
107 </td></tr></table> <p>
108 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
109 <tr bgcolor=
"#ffc8d8">
110 <td colspan=
3 valign=bottom
> <br>
111 <font color=
"#000000" face=
"helvetica, arial"><a name=
"CertUtilsStub">class
<strong>CertUtilsStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
113 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
114 <td width=
"100%">Static methods defined here:
<br>
115 <dl><dt><a name=
"CertUtilsStub-generate_dummy_ca_cert"><strong>generate_dummy_ca_cert
</strong></a>()
</dt></dl>
117 <dl><dt><a name=
"CertUtilsStub-write_dummy_ca_cert"><strong>write_dummy_ca_cert
</strong></a>(_ca_cert_str, _key_str, cert_path)
</dt></dl>
120 Data descriptors defined here:
<br>
121 <dl><dt><strong>__dict__
</strong></dt>
122 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
124 <dl><dt><strong>__weakref__
</strong></dt>
125 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
128 Data and other attributes defined here:
<br>
129 <dl><dt><strong>openssl_import_error
</strong> = None
</dl>
131 </td></tr></table> <p>
132 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
133 <tr bgcolor=
"#ffc8d8">
134 <td colspan=
3 valign=bottom
> <br>
135 <font color=
"#000000" face=
"helvetica, arial"><a name=
"CloudStorageModuleStub">class
<strong>CloudStorageModuleStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
137 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
138 <td width=
"100%">Methods defined here:
<br>
139 <dl><dt><a name=
"CloudStorageModuleStub-CalculateHash"><strong>CalculateHash
</strong></a>(self, file_path)
</dt></dl>
141 <dl><dt><a name=
"CloudStorageModuleStub-ChangeRemoteHashForTesting"><strong>ChangeRemoteHashForTesting
</strong></a>(self, bucket, remote_path, new_hash)
</dt></dl>
143 <dl><dt><a name=
"CloudStorageModuleStub-CheckPermissionLevelForBucket"><strong>CheckPermissionLevelForBucket
</strong></a>(self, bucket)
</dt></dl>
145 <dl><dt><a name=
"CloudStorageModuleStub-Exists"><strong>Exists
</strong></a>(self, bucket, remote_path)
</dt></dl>
147 <dl><dt><a name=
"CloudStorageModuleStub-Get"><strong>Get
</strong></a>(self, bucket, remote_path, local_path)
</dt></dl>
149 <dl><dt><a name=
"CloudStorageModuleStub-GetFilesInDirectoryIfChanged"><strong>GetFilesInDirectoryIfChanged
</strong></a>(self, directory, bucket)
</dt></dl>
151 <dl><dt><a name=
"CloudStorageModuleStub-GetHelper"><strong>GetHelper
</strong></a>(self, bucket, remote_path, local_path, only_if_changed)
</dt></dl>
153 <dl><dt><a name=
"CloudStorageModuleStub-GetIfChanged"><strong>GetIfChanged
</strong></a>(self, local_path, bucket
<font color=
"#909090">=None
</font>)
</dt></dl>
155 <dl><dt><a name=
"CloudStorageModuleStub-GetLocalDataFiles"><strong>GetLocalDataFiles
</strong></a>(self)
</dt></dl>
157 <dl><dt><a name=
"CloudStorageModuleStub-GetLocalHashFiles"><strong>GetLocalHashFiles
</strong></a>(self)
</dt></dl>
159 <dl><dt><a name=
"CloudStorageModuleStub-GetRemotePathsForTesting"><strong>GetRemotePathsForTesting
</strong></a>(self)
</dt></dl>
161 <dl><dt><a name=
"CloudStorageModuleStub-Insert"><strong>Insert
</strong></a>(self, bucket, remote_path, local_path)
</dt></dl>
163 <dl><dt><a name=
"CloudStorageModuleStub-List"><strong>List
</strong></a>(self, bucket)
</dt></dl>
165 <dl><dt><a name=
"CloudStorageModuleStub-ReadHash"><strong>ReadHash
</strong></a>(self, hash_path)
</dt></dl>
167 <dl><dt><a name=
"CloudStorageModuleStub-SetCalculatedHashesForTesting"><strong>SetCalculatedHashesForTesting
</strong></a>(self, calculated_hash_dictionary)
</dt><dd><tt>#
Set
a
dictionary
of
data
files
and
their
"calculated" hashes.
</tt></dd></dl>
169 <dl><dt><a name=
"CloudStorageModuleStub-SetHashFileContentsForTesting"><strong>SetHashFileContentsForTesting
</strong></a>(self, hash_file_dictionary)
</dt><dd><tt>#
Set
a
dictionary
of
hash
files
and
the
hashes
they
should
contain.
</tt></dd></dl>
171 <dl><dt><a name=
"CloudStorageModuleStub-SetPermissionLevelForTesting"><strong>SetPermissionLevelForTesting
</strong></a>(self, permission_level)
</dt></dl>
173 <dl><dt><a name=
"CloudStorageModuleStub-SetRemotePathsForTesting"><strong>SetRemotePathsForTesting
</strong></a>(self, remote_path_dict
<font color=
"#909090">=None
</font>)
</dt></dl>
175 <dl><dt><a name=
"CloudStorageModuleStub-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
178 Data descriptors defined here:
<br>
179 <dl><dt><strong>__dict__
</strong></dt>
180 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
182 <dl><dt><strong>__weakref__
</strong></dt>
183 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
186 Data and other attributes defined here:
<br>
187 <dl><dt><strong>BUCKET_ALIASES
</strong> = {'internal': 'chrome-telemetry', 'partner': 'chrome-partner-telemetry', 'public': 'chromium-telemetry'}
</dl>
189 <dl><dt><strong>CREDENTIALS_ERROR_PERMISSION
</strong> = -
1</dl>
191 <dl><dt><strong>CloudStorageError
</strong> =
<class 'telemetry.testing.system_stub.CloudStorageError'
></dl>
193 <dl><dt><strong>CredentialsError
</strong> =
<class 'telemetry.testing.system_stub.CredentialsError'
></dl>
195 <dl><dt><strong>INTERNAL_BUCKET
</strong> = 'chrome-telemetry'
</dl>
197 <dl><dt><strong>INTERNAL_PERMISSION
</strong> =
2</dl>
199 <dl><dt><strong>NotFoundError
</strong> =
<class 'telemetry.testing.system_stub.NotFoundError'
></dl>
201 <dl><dt><strong>PARTNER_BUCKET
</strong> = 'chrome-partner-telemetry'
</dl>
203 <dl><dt><strong>PARTNER_PERMISSION
</strong> =
1</dl>
205 <dl><dt><strong>PUBLIC_BUCKET
</strong> = 'chromium-telemetry'
</dl>
207 <dl><dt><strong>PUBLIC_PERMISSION
</strong> =
0</dl>
209 <dl><dt><strong>PermissionError
</strong> =
<class 'telemetry.testing.system_stub.PermissionError'
></dl>
211 </td></tr></table> <p>
212 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
213 <tr bgcolor=
"#ffc8d8">
214 <td colspan=
3 valign=bottom
> <br>
215 <font color=
"#000000" face=
"helvetica, arial"><a name=
"LoggingStub">class
<strong>LoggingStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
217 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
218 <td width=
"100%">Methods defined here:
<br>
219 <dl><dt><a name=
"LoggingStub-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
221 <dl><dt><a name=
"LoggingStub-error"><strong>error
</strong></a>(self, msg, *args)
</dt></dl>
223 <dl><dt><a name=
"LoggingStub-info"><strong>info
</strong></a>(self, msg, *args)
</dt></dl>
225 <dl><dt><a name=
"LoggingStub-warn"><strong>warn
</strong></a>(self, msg, *args)
</dt></dl>
227 <dl><dt><a name=
"LoggingStub-warning"><strong>warning
</strong></a>(self, msg, *args)
</dt></dl>
230 Data descriptors defined here:
<br>
231 <dl><dt><strong>__dict__
</strong></dt>
232 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
234 <dl><dt><strong>__weakref__
</strong></dt>
235 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
237 </td></tr></table> <p>
238 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
239 <tr bgcolor=
"#ffc8d8">
240 <td colspan=
3 valign=bottom
> <br>
241 <font color=
"#000000" face=
"helvetica, arial"><a name=
"OpenFunctionStub">class
<strong>OpenFunctionStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
243 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
244 <td width=
"100%">Methods defined here:
<br>
245 <dl><dt><a name=
"OpenFunctionStub-__call__"><strong>__call__
</strong></a>(self, name, *args, **kwargs)
</dt></dl>
247 <dl><dt><a name=
"OpenFunctionStub-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
250 Data descriptors defined here:
<br>
251 <dl><dt><strong>__dict__
</strong></dt>
252 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
254 <dl><dt><strong>__weakref__
</strong></dt>
255 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
258 Data and other attributes defined here:
<br>
259 <dl><dt><strong>FileStub
</strong> =
<class 'telemetry.testing.system_stub.FileStub'
></dl>
261 </td></tr></table> <p>
262 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
263 <tr bgcolor=
"#ffc8d8">
264 <td colspan=
3 valign=bottom
> <br>
265 <font color=
"#000000" face=
"helvetica, arial"><a name=
"OsModuleStub">class
<strong>OsModuleStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
267 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
268 <td width=
"100%">Methods defined here:
<br>
269 <dl><dt><a name=
"OsModuleStub-__init__"><strong>__init__
</strong></a>(self, sys_module
<font color=
"#909090">=
<module 'sys' (built-in)
></font>)
</dt></dl>
271 <dl><dt><a name=
"OsModuleStub-access"><strong>access
</strong></a>(self, path, _)
</dt></dl>
273 <dl><dt><a name=
"OsModuleStub-chdir"><strong>chdir
</strong></a>(self, path)
</dt></dl>
275 <dl><dt><a name=
"OsModuleStub-getenv"><strong>getenv
</strong></a>(self, name, value
<font color=
"#909090">=None
</font>)
</dt></dl>
277 <dl><dt><a name=
"OsModuleStub-walk"><strong>walk
</strong></a>(self, top)
</dt></dl>
280 Data descriptors defined here:
<br>
281 <dl><dt><strong>__dict__
</strong></dt>
282 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
284 <dl><dt><strong>__weakref__
</strong></dt>
285 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
288 Data and other attributes defined here:
<br>
289 <dl><dt><strong>OsEnvironModuleStub
</strong> =
<class 'telemetry.testing.system_stub.OsEnvironModuleStub'
></dl>
291 <dl><dt><strong>OsPathModuleStub
</strong> =
<class 'telemetry.testing.system_stub.OsPathModuleStub'
></dl>
293 <dl><dt><strong>X_OK
</strong> =
1</dl>
295 <dl><dt><strong>pathsep
</strong> = ':'
</dl>
297 <dl><dt><strong>sep
</strong> = '/'
</dl>
299 </td></tr></table> <p>
300 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
301 <tr bgcolor=
"#ffc8d8">
302 <td colspan=
3 valign=bottom
> <br>
303 <font color=
"#000000" face=
"helvetica, arial"><a name=
"Override">class
<strong>Override
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
305 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
306 <td width=
"100%">Methods defined here:
<br>
307 <dl><dt><a name=
"Override-Restore"><strong>Restore
</strong></a>(self)
</dt></dl>
309 <dl><dt><a name=
"Override-__del__"><strong>__del__
</strong></a>(self)
</dt></dl>
311 <dl><dt><a name=
"Override-__init__"><strong>__init__
</strong></a>(self, base_module, module_list)
</dt></dl>
314 Data descriptors defined here:
<br>
315 <dl><dt><strong>__dict__
</strong></dt>
316 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
318 <dl><dt><strong>__weakref__
</strong></dt>
319 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
321 </td></tr></table> <p>
322 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
323 <tr bgcolor=
"#ffc8d8">
324 <td colspan=
3 valign=bottom
> <br>
325 <font color=
"#000000" face=
"helvetica, arial"><a name=
"PerfControlModuleStub">class
<strong>PerfControlModuleStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
327 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
328 <td width=
"100%">Methods defined here:
<br>
329 <dl><dt><a name=
"PerfControlModuleStub-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
332 Data descriptors defined here:
<br>
333 <dl><dt><strong>__dict__
</strong></dt>
334 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
336 <dl><dt><strong>__weakref__
</strong></dt>
337 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
340 Data and other attributes defined here:
<br>
341 <dl><dt><strong>PerfControlStub
</strong> =
<class 'telemetry.testing.system_stub.PerfControlStub'
></dl>
343 </td></tr></table> <p>
344 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
345 <tr bgcolor=
"#ffc8d8">
346 <td colspan=
3 valign=bottom
> <br>
347 <font color=
"#000000" face=
"helvetica, arial"><a name=
"PlatformSettingsStub">class
<strong>PlatformSettingsStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
349 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
350 <td width=
"100%">Static methods defined here:
<br>
351 <dl><dt><a name=
"PlatformSettingsStub-HasSniSupport"><strong>HasSniSupport
</strong></a>()
</dt></dl>
354 Data descriptors defined here:
<br>
355 <dl><dt><strong>__dict__
</strong></dt>
356 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
358 <dl><dt><strong>__weakref__
</strong></dt>
359 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
361 </td></tr></table> <p>
362 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
363 <tr bgcolor=
"#ffc8d8">
364 <td colspan=
3 valign=bottom
> <br>
365 <font color=
"#000000" face=
"helvetica, arial"><a name=
"RawInputFunctionStub">class
<strong>RawInputFunctionStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
367 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
368 <td width=
"100%">Methods defined here:
<br>
369 <dl><dt><a name=
"RawInputFunctionStub-__call__"><strong>__call__
</strong></a>(self, name, *args, **kwargs)
</dt></dl>
371 <dl><dt><a name=
"RawInputFunctionStub-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
374 Data descriptors defined here:
<br>
375 <dl><dt><strong>__dict__
</strong></dt>
376 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
378 <dl><dt><strong>__weakref__
</strong></dt>
379 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
381 </td></tr></table> <p>
382 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
383 <tr bgcolor=
"#ffc8d8">
384 <td colspan=
3 valign=bottom
> <br>
385 <font color=
"#000000" face=
"helvetica, arial"><a name=
"SubprocessModuleStub">class
<strong>SubprocessModuleStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
387 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
388 <td width=
"100%">Methods defined here:
<br>
389 <dl><dt><a name=
"SubprocessModuleStub-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
391 <dl><dt><a name=
"SubprocessModuleStub-call"><strong>call
</strong></a>(self, *args, **kwargs)
</dt></dl>
394 Data descriptors defined here:
<br>
395 <dl><dt><strong>__dict__
</strong></dt>
396 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
398 <dl><dt><strong>__weakref__
</strong></dt>
399 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
402 Data and other attributes defined here:
<br>
403 <dl><dt><strong>PopenStub
</strong> =
<class 'telemetry.testing.system_stub.PopenStub'
></dl>
405 </td></tr></table> <p>
406 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
407 <tr bgcolor=
"#ffc8d8">
408 <td colspan=
3 valign=bottom
> <br>
409 <font color=
"#000000" face=
"helvetica, arial"><a name=
"SysModuleStub">class
<strong>SysModuleStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
411 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
412 <td width=
"100%">Methods defined here:
<br>
413 <dl><dt><a name=
"SysModuleStub-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
416 Data descriptors defined here:
<br>
417 <dl><dt><strong>__dict__
</strong></dt>
418 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
420 <dl><dt><strong>__weakref__
</strong></dt>
421 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
423 </td></tr></table> <p>
424 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
425 <tr bgcolor=
"#ffc8d8">
426 <td colspan=
3 valign=bottom
> <br>
427 <font color=
"#000000" face=
"helvetica, arial"><a name=
"ThermalThrottleModuleStub">class
<strong>ThermalThrottleModuleStub
</strong></a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
</font></td></tr>
429 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
430 <td width=
"100%">Methods defined here:
<br>
431 <dl><dt><a name=
"ThermalThrottleModuleStub-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
434 Data descriptors defined here:
<br>
435 <dl><dt><strong>__dict__
</strong></dt>
436 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
438 <dl><dt><strong>__weakref__
</strong></dt>
439 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
442 Data and other attributes defined here:
<br>
443 <dl><dt><strong>ThermalThrottleStub
</strong> =
<class 'telemetry.testing.system_stub.ThermalThrottleStub'
></dl>
445 </td></tr></table></td></tr></table>