diff options
Diffstat (limited to 'tests/test_mongoengine.py')
-rw-r--r-- | tests/test_mongoengine.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_mongoengine.py b/tests/test_mongoengine.py index 6fa4125..7badd43 100644 --- a/tests/test_mongoengine.py +++ b/tests/test_mongoengine.py @@ -31,6 +31,9 @@ try: except ImportError: mongoengine = None +if os.environ.get('SKIP_MONGOENGINE') == 1: + mongoengine = None + if mongoengine: from factory.mongoengine import MongoEngineFactory |