File: example3.py

package info (click to toggle)
python-molotov 2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,264 kB
  • sloc: python: 4,121; makefile: 60
file content (11 lines) | stat: -rw-r--r-- 194 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
from molotov import global_setup, scenario


@global_setup()
def init_test(args):
    raise Exception("BAM")


@scenario(weight=100)
async def fail(session):
    raise Exception("I am failing")