Skip to content

Conversation

@snjypl
Copy link
Contributor

@snjypl snjypl commented Dec 7, 2022

#28145 converted python unittest to pytest.

@IAL32
the tests in tests/providers/amazon/aws/transfers/test_dynamodb_to_s3.py was not discovered due to the test class name convention. DynamodbToS3Test instead of TestDynamodbToS3

also fixed issue with self.assertAlmostEqual. in the current main it is not failing since this test is not getting run by pytest.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@snjypl snjypl requested a review from eladkal as a code owner December 7, 2022 20:12
@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Dec 7, 2022
@IAL32
Copy link
Contributor

IAL32 commented Dec 7, 2022

Totally missed that, thanks!

@uranusjr uranusjr changed the title Fix issue with pytest not discovering some aws provider unittest due to class name convention Fix test classes’ names so pytest discovers them Dec 8, 2022
@uranusjr uranusjr merged commit e6810d1 into apache:main Dec 8, 2022
@snjypl snjypl deleted the Fix-issue-with-pytest-not-discovering-aws-provider-test branch December 8, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants