Prab-27 commented on issue #52020:
URL: https://github.com/apache/airflow/issues/52020#issuecomment-2994755171

   There is only one mark and after removing `pytestmark = pytest.mark.db_test` 
 in `apprise` 3 tests failed: 
   
   ```
   FAILED 
tests/unit/apprise/notifications/test_apprise.py::TestAppriseNotifier::test_notifier
 - airflow.exceptions.AirflowInternalRuntimeError: Your test accessed the DB 
but `_AIRFLOW_SKIP_DB_TESTS` is set.
   Either make sure your test does not use database or mark the test with 
`@pytest.mark.db_test`
   See 
https://github.com/apache/airflow/blob/main/contributing-docs/testing/unit_tests.rst#best-practices-for-db-tests
 on how to deal with it and consult examples.
   FAILED 
tests/unit/apprise/notifications/test_apprise.py::TestAppriseNotifier::test_notifier_with_notifier_class
 - airflow.exceptions.AirflowInternalRuntimeError: Your test accessed the DB 
but `_AIRFLOW_SKIP_DB_TESTS` is set.
   Either make sure your test does not use database or mark the test with 
`@pytest.mark.db_test`
   See 
https://github.com/apache/airflow/blob/main/contributing-docs/testing/unit_tests.rst#best-practices-for-db-tests
 on how to deal with it and consult examples.
   FAILED 
tests/unit/apprise/notifications/test_apprise.py::TestAppriseNotifier::test_notifier_templated
 - airflow.exceptions.AirflowInternalRuntimeError: Your test accessed the DB 
but `_AIRFLOW_SKIP_DB_TESTS` is set.
   Either make sure your test does not use database or mark the test with 
`@pytest.mark.db_test`
   See 
https://github.com/apache/airflow/blob/main/contributing-docs/testing/unit_tests.rst#best-practices-for-db-tests
 on how to deal with it and consult examples. 
   
   ```
   


-- 
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