Taragolis opened a new pull request, #27948:
URL: https://github.com/apache/airflow/pull/27948

   Migrate all Apache providers tests to `pytest`.
   
   All changes are more or less straightforward:
   - Get rid of `unittests.TestCase` class and **TestCase.assert*** methods
   - Replace decorator `parameterized.expand` by `pytest.mark.parametrize`. I
   - replace `requests_mock.mock` decorator by `requests_mock` fixture
   - Convert `TestCase.subTest` to parametrize tests  
   - Convert classes **setUp*** and **tearDown*** to [appropriate pytest 
methods](https://docs.pytest.org/en/6.2.x/xunit_setup.html#classic-xunit-style-setup)
   
   _See additional findings in comments_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to