diff --git a/test/conftest.py b/test/conftest.py index 3c212f27..f4862103 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -228,3 +228,8 @@ def participants(db_session, a): db_session.add(p) db_session.flush() return ps + +# import dlgr was not working in the context of a test. The following +# lines make sure it works. +import sys +sys.path.append(os.path.join(os.path.dirname(__file__), '..'))