T52710 pytests work

This commit is contained in:
Stephan preeker 2017-12-08 14:00:30 +01:00
parent d467f000a7
commit fccd3e306e
2 changed files with 3 additions and 1 deletions

View File

@ -159,7 +159,7 @@ def do_update_subscription(local_user: auth.UserClass, bid_user: dict):
# Re-index the user in the search database. # Re-index the user in the search database.
from pillar.api.users import hooks from pillar.api.users import hooks
hooks.push_updated_user_to_algolia({'_id': user_id}, {}) hooks.push_updated_user_to_search({'_id': user_id}, {})
def setup_app(app, url_prefix): def setup_app(app, url_prefix):

View File

@ -1,4 +1,6 @@
import logging import logging
import typing
import bson
from flask_script import Manager from flask_script import Manager