You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/11/17 12:26:34 UTC
[GitHub] [airflow] potiuk commented on a diff in pull request #27696: Replace `unittests` in providers tests by pure `pytest` [Wave-3]
potiuk commented on code in PR #27696:
URL: https://github.com/apache/airflow/pull/27696#discussion_r1025125302
##########
tests/providers/common/sql/sensors/test_sql.py:
##########
@@ -245,8 +242,8 @@ def test_sql_sensor_postgres_poke_invalid_success(self, mock_hook):
op.poke(None)
assert "self.success is present, but not callable -> [1]" == str(ctx.value)
- @unittest.skipIf(
- "AIRFLOW_RUNALL_TESTS" not in os.environ, "Skipped because AIRFLOW_RUNALL_TESTS is not set"
+ @pytest.mark.skipif(
+ "AIRFLOW_RUNALL_TESTS" not in os.environ, reason="Skipped because AIRFLOW_RUNALL_TESTS is not set"
Review Comment:
It's very likely
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org