Skip to content

Commit

Permalink
Fix db test
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakolusheva committed Apr 5, 2021
1 parent e8cbb28 commit 1666ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emmaa/tests/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_update_email_subscription():
q = sess.query(UserQuery.subscription).filter(
UserQuery.user_id == 1, UserQuery.query_hash == qh)
assert [q[0] for q in q.all()][0] # True
db.update_email_subscription('test1@test.com', [qh], False)
db.update_email_subscription('test1@test.com', [qh], [], False)
with db.get_session() as sess:
q = sess.query(UserQuery.subscription).filter(
UserQuery.user_id == 1,
Expand Down

0 comments on commit 1666ee4

Please sign in to comment.