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

here = os.path.dirname(__file__)
base = os.path.dirname(here)
fake_packages = os.path.join(here, 'fake_packages')
sys.path.append(fake_packages)

# 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
sys.path.insert(0, base)
#pkg_resources.require('Paste-Deploy')