File: mod_setup_skip.py

package info (click to toggle)
nose 1.3.7-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,900 kB
  • sloc: python: 15,733; makefile: 99; xml: 42; sh: 2
file content (14 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from nose import SkipTest

def setup():
    raise SkipTest("no thanks")


def test_a():
    raise AssertionError("test_a should not run")


def test_b():
    raise AssertionError("test_b should not run")