Merge pull request #63 from cristen/tests

Fixes tests to use the default project root config
This commit is contained in:
Guillaume Ayoub 2013-09-09 08:25:48 -07:00
commit f5f31ca978

View File

@ -33,6 +33,10 @@ from io import BytesIO
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
import radicale import radicale
os.environ["RADICALE_CONFIG"] = os.path.join(os.path.dirname(
os.path.dirname(__file__)), "config")
from radicale import config from radicale import config
from radicale.auth import htpasswd from radicale.auth import htpasswd
from radicale.storage import filesystem, database from radicale.storage import filesystem, database