File: session_reference.rst

package info (click to toggle)
nose2 0.15.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,912 kB
  • sloc: python: 10,721; makefile: 126
file content (24 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Session reference
=================

Session
-------

In nose2, all configuration for a test run is encapsulated in a
``Session`` instance. Plugins always have the session available as
``self.session``.

.. autoclass :: nose2.session.Session
   :members:


Config
------

Configuration values loaded from config file sections are made
available to plugins in ``Config`` instances. Plugins that set
``configSection`` will have a ``Config`` instance available as
``self.config``.

.. autoclass :: nose2.config.Config
   :members: