Skip to content

Commit

Permalink
Make pytest work
Browse files Browse the repository at this point in the history
  • Loading branch information
silviot committed Jul 20, 2023
1 parent 63e4ab1 commit 29b0ce2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__), '..'))

0 comments on commit 29b0ce2

Please sign in to comment.