This is an automated email from the ASF dual-hosted git repository. maximebeauchemin pushed a commit to branch avatar_url in repository https://gitbox.apache.org/repos/asf/superset.git
commit 65f146168c072693e8acde9b157696e1273c8501 Author: Maxime Beauchemin <[email protected]> AuthorDate: Mon Apr 1 22:01:44 2024 -0700 fix test --- tests/unit_tests/notifications/slack_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit_tests/notifications/slack_tests.py b/tests/unit_tests/notifications/slack_tests.py index 7e6cc3afc1..e423527df8 100644 --- a/tests/unit_tests/notifications/slack_tests.py +++ b/tests/unit_tests/notifications/slack_tests.py @@ -31,7 +31,8 @@ def test_send_slack( # requires app context from superset.reports.models import ReportRecipients, ReportRecipientType from superset.reports.notifications.base import NotificationContent - from superset.reports.notifications.slack import SlackNotification, WebClient + from superset.reports.notifications.slack import SlackNotification + from superset.utils.slack import WebClient execution_id = uuid.uuid4() flask_global_mock.logs_context = {"execution_id": execution_id}
