Add mongodb and imap tests for dal

Added mongodb uri string for tests
This commit is contained in:
Alan Etkin
2014-01-28 17:46:05 -03:00
parent 2967969add
commit 35d56ec3f0
4 changed files with 344 additions and 49 deletions
+3 -1
View File
@@ -3,7 +3,9 @@ import os, sys
from test_http import *
from test_cache import *
if "google" in (os.getenv("DB") or []):
NOSQL = any([name in (os.getenv("DB") or "")
for name in ("datastore", "mongodb", "imap")])
if NOSQL:
from test_dal_nosql import *
else:
from test_dal import *