diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-29 17:12:00 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-29 17:12:00 -0400 |
commit | b570c8f69eec289fef52c37812cc95923fd94356 (patch) | |
tree | 59a27aa42c012b5f298da00ec44e55793c34a75b /sqla_nose.py | |
parent | 08f104f7e79f7575e5409fccc9a752227ba52565 (diff) | |
download | sqlalchemy-b570c8f69eec289fef52c37812cc95923fd94356.tar.gz |
- copy the plugin into test so that it can be loaded w/o breaking coverage.
this is a really unfortunate hack right now.
Diffstat (limited to 'sqla_nose.py')
-rwxr-xr-x | sqla_nose.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sqla_nose.py b/sqla_nose.py index 290fc760e..ec8cc81ae 100755 --- a/sqla_nose.py +++ b/sqla_nose.py @@ -7,9 +7,11 @@ installs SQLAlchemy's testing plugin into the local environment. """ import sys +import os + from os import path -for pth in ['.', './lib', './lib/sqlalchemy/testing']: +for pth in ['.', './lib', './test']: sys.path.insert(0, path.join(path.dirname(path.abspath(__file__)), pth)) |