1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.testing.system_stub</title> 4<meta charset="utf-8"> 5</head><body bgcolor="#f0f0f8"> 6 7<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8<tr bgcolor="#7799ee"> 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> 14 <br> 15This test allows one to test code that itself uses os, sys, and subprocess.</tt></p> 16<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> 21 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> 34 35<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 36<td width="100%"><dl> 37<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> 38</font></dt><dd> 39<dl> 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> 54</font></dt></dl> 55</dd> 56</dl> 57 <p> 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> 62 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> 66 67<dl><dt><a name="AdbDevice-GetProp"><strong>GetProp</strong></a>(self, property_name)</dt></dl> 68 69<dl><dt><a name="AdbDevice-HasRoot"><strong>HasRoot</strong></a>(self)</dt></dl> 70 71<dl><dt><a name="AdbDevice-NeedsSU"><strong>NeedsSU</strong></a>(self)</dt></dl> 72 73<dl><dt><a name="AdbDevice-ReadFile"><strong>ReadFile</strong></a>(self, device_path, as_root<font color="#909090">=False</font>)</dt></dl> 74 75<dl><dt><a name="AdbDevice-RunShellCommand"><strong>RunShellCommand</strong></a>(self, args, **_kwargs)</dt></dl> 76 77<dl><dt><a name="AdbDevice-SetProp"><strong>SetProp</strong></a>(self, property_name, property_value)</dt></dl> 78 79<dl><dt><a name="AdbDevice-__init__"><strong>__init__</strong></a>(self)</dt></dl> 80 81<hr> 82Data descriptors defined here:<br> 83<dl><dt><strong>__dict__</strong></dt> 84<dd><tt>dictionary for instance variables (if defined)</tt></dd> 85</dl> 86<dl><dt><strong>__weakref__</strong></dt> 87<dd><tt>list of weak references to the object (if defined)</tt></dd> 88</dl> 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> 94 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> 99</dl> 100<dl><dt><strong>__weakref__</strong></dt> 101<dd><tt>list of weak references to the object (if defined)</tt></dd> 102</dl> 103<hr> 104Data and other attributes defined here:<br> 105<dl><dt><strong>AndroidCertInstaller</strong> = <class 'telemetry.testing.system_stub.AndroidCertInstaller'></dl> 106 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> 112 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> 116 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> 118 119<hr> 120Data descriptors defined here:<br> 121<dl><dt><strong>__dict__</strong></dt> 122<dd><tt>dictionary for instance variables (if defined)</tt></dd> 123</dl> 124<dl><dt><strong>__weakref__</strong></dt> 125<dd><tt>list of weak references to the object (if defined)</tt></dd> 126</dl> 127<hr> 128Data and other attributes defined here:<br> 129<dl><dt><strong>openssl_import_error</strong> = None</dl> 130 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> 136 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> 140 141<dl><dt><a name="CloudStorageModuleStub-ChangeRemoteHashForTesting"><strong>ChangeRemoteHashForTesting</strong></a>(self, bucket, remote_path, new_hash)</dt></dl> 142 143<dl><dt><a name="CloudStorageModuleStub-CheckPermissionLevelForBucket"><strong>CheckPermissionLevelForBucket</strong></a>(self, bucket)</dt></dl> 144 145<dl><dt><a name="CloudStorageModuleStub-Exists"><strong>Exists</strong></a>(self, bucket, remote_path)</dt></dl> 146 147<dl><dt><a name="CloudStorageModuleStub-Get"><strong>Get</strong></a>(self, bucket, remote_path, local_path)</dt></dl> 148 149<dl><dt><a name="CloudStorageModuleStub-GetFilesInDirectoryIfChanged"><strong>GetFilesInDirectoryIfChanged</strong></a>(self, directory, bucket)</dt></dl> 150 151<dl><dt><a name="CloudStorageModuleStub-GetHelper"><strong>GetHelper</strong></a>(self, bucket, remote_path, local_path, only_if_changed)</dt></dl> 152 153<dl><dt><a name="CloudStorageModuleStub-GetIfChanged"><strong>GetIfChanged</strong></a>(self, local_path, bucket<font color="#909090">=None</font>)</dt></dl> 154 155<dl><dt><a name="CloudStorageModuleStub-GetLocalDataFiles"><strong>GetLocalDataFiles</strong></a>(self)</dt></dl> 156 157<dl><dt><a name="CloudStorageModuleStub-GetLocalHashFiles"><strong>GetLocalHashFiles</strong></a>(self)</dt></dl> 158 159<dl><dt><a name="CloudStorageModuleStub-GetRemotePathsForTesting"><strong>GetRemotePathsForTesting</strong></a>(self)</dt></dl> 160 161<dl><dt><a name="CloudStorageModuleStub-Insert"><strong>Insert</strong></a>(self, bucket, remote_path, local_path)</dt></dl> 162 163<dl><dt><a name="CloudStorageModuleStub-List"><strong>List</strong></a>(self, bucket)</dt></dl> 164 165<dl><dt><a name="CloudStorageModuleStub-ReadHash"><strong>ReadHash</strong></a>(self, hash_path)</dt></dl> 166 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> 168 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> 170 171<dl><dt><a name="CloudStorageModuleStub-SetPermissionLevelForTesting"><strong>SetPermissionLevelForTesting</strong></a>(self, permission_level)</dt></dl> 172 173<dl><dt><a name="CloudStorageModuleStub-SetRemotePathsForTesting"><strong>SetRemotePathsForTesting</strong></a>(self, remote_path_dict<font color="#909090">=None</font>)</dt></dl> 174 175<dl><dt><a name="CloudStorageModuleStub-__init__"><strong>__init__</strong></a>(self)</dt></dl> 176 177<hr> 178Data descriptors defined here:<br> 179<dl><dt><strong>__dict__</strong></dt> 180<dd><tt>dictionary for instance variables (if defined)</tt></dd> 181</dl> 182<dl><dt><strong>__weakref__</strong></dt> 183<dd><tt>list of weak references to the object (if defined)</tt></dd> 184</dl> 185<hr> 186Data and other attributes defined here:<br> 187<dl><dt><strong>BUCKET_ALIASES</strong> = {'internal': 'chrome-telemetry', 'partner': 'chrome-partner-telemetry', 'public': 'chromium-telemetry'}</dl> 188 189<dl><dt><strong>CREDENTIALS_ERROR_PERMISSION</strong> = -1</dl> 190 191<dl><dt><strong>CloudStorageError</strong> = <class 'telemetry.testing.system_stub.CloudStorageError'></dl> 192 193<dl><dt><strong>CredentialsError</strong> = <class 'telemetry.testing.system_stub.CredentialsError'></dl> 194 195<dl><dt><strong>INTERNAL_BUCKET</strong> = 'chrome-telemetry'</dl> 196 197<dl><dt><strong>INTERNAL_PERMISSION</strong> = 2</dl> 198 199<dl><dt><strong>NotFoundError</strong> = <class 'telemetry.testing.system_stub.NotFoundError'></dl> 200 201<dl><dt><strong>PARTNER_BUCKET</strong> = 'chrome-partner-telemetry'</dl> 202 203<dl><dt><strong>PARTNER_PERMISSION</strong> = 1</dl> 204 205<dl><dt><strong>PUBLIC_BUCKET</strong> = 'chromium-telemetry'</dl> 206 207<dl><dt><strong>PUBLIC_PERMISSION</strong> = 0</dl> 208 209<dl><dt><strong>PermissionError</strong> = <class 'telemetry.testing.system_stub.PermissionError'></dl> 210 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> 216 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> 220 221<dl><dt><a name="LoggingStub-error"><strong>error</strong></a>(self, msg, *args)</dt></dl> 222 223<dl><dt><a name="LoggingStub-info"><strong>info</strong></a>(self, msg, *args)</dt></dl> 224 225<dl><dt><a name="LoggingStub-warn"><strong>warn</strong></a>(self, msg, *args)</dt></dl> 226 227<dl><dt><a name="LoggingStub-warning"><strong>warning</strong></a>(self, msg, *args)</dt></dl> 228 229<hr> 230Data descriptors defined here:<br> 231<dl><dt><strong>__dict__</strong></dt> 232<dd><tt>dictionary for instance variables (if defined)</tt></dd> 233</dl> 234<dl><dt><strong>__weakref__</strong></dt> 235<dd><tt>list of weak references to the object (if defined)</tt></dd> 236</dl> 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> 242 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> 246 247<dl><dt><a name="OpenFunctionStub-__init__"><strong>__init__</strong></a>(self)</dt></dl> 248 249<hr> 250Data descriptors defined here:<br> 251<dl><dt><strong>__dict__</strong></dt> 252<dd><tt>dictionary for instance variables (if defined)</tt></dd> 253</dl> 254<dl><dt><strong>__weakref__</strong></dt> 255<dd><tt>list of weak references to the object (if defined)</tt></dd> 256</dl> 257<hr> 258Data and other attributes defined here:<br> 259<dl><dt><strong>FileStub</strong> = <class 'telemetry.testing.system_stub.FileStub'></dl> 260 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> 266 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> 270 271<dl><dt><a name="OsModuleStub-access"><strong>access</strong></a>(self, path, _)</dt></dl> 272 273<dl><dt><a name="OsModuleStub-chdir"><strong>chdir</strong></a>(self, path)</dt></dl> 274 275<dl><dt><a name="OsModuleStub-getenv"><strong>getenv</strong></a>(self, name, value<font color="#909090">=None</font>)</dt></dl> 276 277<dl><dt><a name="OsModuleStub-walk"><strong>walk</strong></a>(self, top)</dt></dl> 278 279<hr> 280Data descriptors defined here:<br> 281<dl><dt><strong>__dict__</strong></dt> 282<dd><tt>dictionary for instance variables (if defined)</tt></dd> 283</dl> 284<dl><dt><strong>__weakref__</strong></dt> 285<dd><tt>list of weak references to the object (if defined)</tt></dd> 286</dl> 287<hr> 288Data and other attributes defined here:<br> 289<dl><dt><strong>OsEnvironModuleStub</strong> = <class 'telemetry.testing.system_stub.OsEnvironModuleStub'></dl> 290 291<dl><dt><strong>OsPathModuleStub</strong> = <class 'telemetry.testing.system_stub.OsPathModuleStub'></dl> 292 293<dl><dt><strong>X_OK</strong> = 1</dl> 294 295<dl><dt><strong>pathsep</strong> = ':'</dl> 296 297<dl><dt><strong>sep</strong> = '/'</dl> 298 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> 304 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> 308 309<dl><dt><a name="Override-__del__"><strong>__del__</strong></a>(self)</dt></dl> 310 311<dl><dt><a name="Override-__init__"><strong>__init__</strong></a>(self, base_module, module_list)</dt></dl> 312 313<hr> 314Data descriptors defined here:<br> 315<dl><dt><strong>__dict__</strong></dt> 316<dd><tt>dictionary for instance variables (if defined)</tt></dd> 317</dl> 318<dl><dt><strong>__weakref__</strong></dt> 319<dd><tt>list of weak references to the object (if defined)</tt></dd> 320</dl> 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> 326 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> 330 331<hr> 332Data descriptors defined here:<br> 333<dl><dt><strong>__dict__</strong></dt> 334<dd><tt>dictionary for instance variables (if defined)</tt></dd> 335</dl> 336<dl><dt><strong>__weakref__</strong></dt> 337<dd><tt>list of weak references to the object (if defined)</tt></dd> 338</dl> 339<hr> 340Data and other attributes defined here:<br> 341<dl><dt><strong>PerfControlStub</strong> = <class 'telemetry.testing.system_stub.PerfControlStub'></dl> 342 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> 348 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> 352 353<hr> 354Data descriptors defined here:<br> 355<dl><dt><strong>__dict__</strong></dt> 356<dd><tt>dictionary for instance variables (if defined)</tt></dd> 357</dl> 358<dl><dt><strong>__weakref__</strong></dt> 359<dd><tt>list of weak references to the object (if defined)</tt></dd> 360</dl> 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> 366 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> 370 371<dl><dt><a name="RawInputFunctionStub-__init__"><strong>__init__</strong></a>(self)</dt></dl> 372 373<hr> 374Data descriptors defined here:<br> 375<dl><dt><strong>__dict__</strong></dt> 376<dd><tt>dictionary for instance variables (if defined)</tt></dd> 377</dl> 378<dl><dt><strong>__weakref__</strong></dt> 379<dd><tt>list of weak references to the object (if defined)</tt></dd> 380</dl> 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> 386 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> 390 391<dl><dt><a name="SubprocessModuleStub-call"><strong>call</strong></a>(self, *args, **kwargs)</dt></dl> 392 393<hr> 394Data descriptors defined here:<br> 395<dl><dt><strong>__dict__</strong></dt> 396<dd><tt>dictionary for instance variables (if defined)</tt></dd> 397</dl> 398<dl><dt><strong>__weakref__</strong></dt> 399<dd><tt>list of weak references to the object (if defined)</tt></dd> 400</dl> 401<hr> 402Data and other attributes defined here:<br> 403<dl><dt><strong>PopenStub</strong> = <class 'telemetry.testing.system_stub.PopenStub'></dl> 404 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> 410 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> 414 415<hr> 416Data descriptors defined here:<br> 417<dl><dt><strong>__dict__</strong></dt> 418<dd><tt>dictionary for instance variables (if defined)</tt></dd> 419</dl> 420<dl><dt><strong>__weakref__</strong></dt> 421<dd><tt>list of weak references to the object (if defined)</tt></dd> 422</dl> 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> 428 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> 432 433<hr> 434Data descriptors defined here:<br> 435<dl><dt><strong>__dict__</strong></dt> 436<dd><tt>dictionary for instance variables (if defined)</tt></dd> 437</dl> 438<dl><dt><strong>__weakref__</strong></dt> 439<dd><tt>list of weak references to the object (if defined)</tt></dd> 440</dl> 441<hr> 442Data and other attributes defined here:<br> 443<dl><dt><strong>ThermalThrottleStub</strong> = <class 'telemetry.testing.system_stub.ThermalThrottleStub'></dl> 444 445</td></tr></table></td></tr></table> 446</body></html>