aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--tests/test_alchemy.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 3c784ce..ee43db3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,6 +13,7 @@ script:
install:
- if [[ $TRAVIS_PYTHON_VERSION = 2.6 ]]; then pip install unittest2 --use-mirrors; fi
- pip install Django --use-mirrors
+ - pip install sqlalchemy --use-mirrors
notifications:
email: false
diff --git a/tests/test_alchemy.py b/tests/test_alchemy.py
index 39e94c8..cfbc835 100644
--- a/tests/test_alchemy.py
+++ b/tests/test_alchemy.py
@@ -31,7 +31,7 @@ except ImportError:
sqlalchemy = None
if sqlalchemy:
- from factory import SQLAlchemyModelFactory
+ from factory.alchemy import SQLAlchemyModelFactory
from .alchemyapp import models
else: