Debian Codegraph @

docs/dev/session_reference.rst

raw
1 Session reference
2 =================
3
4 Session
5 -------
6
7 In nose2, all configuration for a test run is encapsulated in a
8 ``Session`` instance. Plugins always have the session available as
9 ``self.session``.
10
11 .. autoclass :: nose2.session.Session
12 :members:
13
14
15 Config
16 ------
17
18 Configuration values loaded from config file sections are made
19 available to plugins in ``Config`` instances. Plugins that set
20 ``configSection`` will have a ``Config`` instance available as
21 ``self.config``.
22
23 .. autoclass :: nose2.config.Config
24 :members: