Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-11797] Fix wrong assertion usage #14377

Merged
merged 1 commit into from
Mar 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sdks/python/apache_beam/runners/interactive/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ def test_progress_in_plain_text_when_not_in_notebook(self):

@utils.progress_indicated
def progress_indicated_dummy():
mocked_display.assert_called_with('Processing...')
mocked_display.assert_any_call('Processing...')

progress_indicated_dummy()
mocked_display.assert_called_with('Done.')
mocked_display.assert_any_call('Done.')

def test_progress_in_HTML_JS_when_in_notebook(self):
ie.current_env()._is_in_notebook = True
Expand All @@ -212,10 +212,10 @@ def test_progress_in_HTML_JS_when_in_notebook(self):

@utils.progress_indicated
def progress_indicated_dummy():
mocked_html.assert_called_with('enter')
mocked_html.assert_any_call('enter')

progress_indicated_dummy()
mocked_javascript.assert_called_with(
mocked_javascript.assert_any_call(
ie._JQUERY_WITH_DATATABLE_TEMPLATE.format(customized_script='exit'))


Expand Down