diff options
Diffstat (limited to 'tests/__init__.py')
-rw-r--r-- | tests/__init__.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..0ba8f8a --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,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') + |