File: plugins.py

package info (click to toggle)
django-nose 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 340 kB
  • sloc: python: 567; sh: 29; makefile: 14
file content (19 lines) | stat: -rw-r--r-- 358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

from nose.plugins import Plugin

plugin_began = False

class SanityCheckPlugin(Plugin):
    enabled = True

    def options(self, parser, env):
        """Register commandline options.
        """

    def configure(self, options, conf):
        """Configure plugin.
        """

    def begin(self):
        global plugin_began
        plugin_began = True