File: session_reference.rst

package info (click to toggle)
nose2 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,368 kB
  • ctags: 1,834
  • sloc: python: 7,899; makefile: 22
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: