summaryrefslogtreecommitdiff
path: root/test/__init__.py
blob: e0ec347c32989f4865435e23406750ad4b647cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from __future__ import with_statement
from .tools import chdir
import unittest
import sys, os

try:
    import coverage
    coverage.process_startup()
except ImportError:
    pass


if 'fast' in sys.argv:
    sys.stderr.write("Warning: The 'fast' keyword skipps server tests.\n")
    os.environ["TEST_FAST"] = "true"

import bottle
bottle.debug(True)