summaryrefslogtreecommitdiff
path: root/tests/__init__.py
blob: 0ba8f8a38c3adab5898a94784ca2fa34ff578fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os
import sys

here = os.path.dirname(__file__)
base = os.path.dirname(here)
sys.path.insert(0, base)

# We can only import this after we adjust the paths
import pkg_resources

# Make absolutely sure we're testing *this* package, not
# some other installed package
pkg_resources.require('PasteDeploy')