-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Migrate amazon provider transfer tests from unittests to pytest
#28145
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
Conversation
|
some tests failing :( |
| def test_poke_on_success_state(self, mock_get_job_description): | ||
| mock_get_job_description.return_value = {"status": "SUCCEEDED"} | ||
| assert self.batch_sensor.poke({}) | ||
| assert self.batch_sensor.poke({}) is True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nitpick from @ferruzzi :
#28139 (review)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for including it here. 👍
ferruzzi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. These are a big help, thanks for taking them on!
Related: #28039 #28139 @Taragolis
Migrate Amazon provider's transfer tests to
pytest.All changes are more or less straightforward:
parameterized.expandbypytest.mark.parametrize.@patchto@mock.patchto conform to other tests