summaryrefslogtreecommitdiff
path: root/test/conftest.py
blob: c07e9e25f7812e5d259ac3bad7db6911af17ab1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
"""
pytest plugin script.

This script is an extension to py.test which
installs SQLAlchemy's testing plugin into the local environment.

"""
import sys
import imp

from os import path
for pth in ['../lib']:
    sys.path.insert(0, path.join(path.dirname(path.abspath(__file__)), pth))

from sqlalchemy.testing.plugin.pytestplugin import *