Definition at line 54 of file pytest_plugin.py.
Public Member Functions | |
| None | __init__ (self) |
| None | aclose (self, skip_multiple=False) |
| AsyncGenerator[_DaemonScope, None] | scope (self, name, spawn, *, bool multiple=False) |
| Creates new scope evicting previous daemon. | |
| DaemonInstance | request (self, _DaemonScope scope) |
| bool | has_running_daemons (self) |
Protected Member Functions | |
| _cleanup_cell (self, name) | |
| _close_daemon (self, DaemonInstance daemon) | |
Static Protected Attributes | |
| dict | _cells [str, tuple[_DaemonScope, DaemonInstance]] |
| None testsuite.daemons.pytest_plugin._DaemonStore.__init__ | ( | self | ) |
Definition at line 57 of file pytest_plugin.py.
|
protected |
Definition at line 108 of file pytest_plugin.py.
|
protected |
Definition at line 114 of file pytest_plugin.py.
| None testsuite.daemons.pytest_plugin._DaemonStore.aclose | ( | self, | |
| skip_multiple = False ) |
Definition at line 60 of file pytest_plugin.py.
| bool testsuite.daemons.pytest_plugin._DaemonStore.has_running_daemons | ( | self | ) |
Definition at line 102 of file pytest_plugin.py.
| DaemonInstance testsuite.daemons.pytest_plugin._DaemonStore.request | ( | self, | |
| _DaemonScope | scope ) |
Definition at line 90 of file pytest_plugin.py.
| AsyncGenerator[_DaemonScope, None] testsuite.daemons.pytest_plugin._DaemonStore.scope | ( | self, | |
| name, | |||
| spawn, | |||
| * | , | ||
| bool | multiple = False ) |
Creates new scope evicting previous daemon.
:param name: scope identifier. :param spawn: spawner instance. :param multiple: do not fail when this scope is requested with others.
Definition at line 70 of file pytest_plugin.py.
|
staticprotected |
Definition at line 55 of file pytest_plugin.py.