File: plugins.py

package info (click to toggle)
django-nose 1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 284 kB
  • ctags: 127
  • sloc: python: 625; sh: 28; makefile: 14
file content (17 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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