Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions providers/github/tests/unit/github/hooks/test_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
from airflow.models import Connection
from airflow.providers.github.hooks.github import GithubHook

pytestmark = pytest.mark.db_test


github_client_mock = Mock(name="github_client_for_test")


Expand Down
4 changes: 1 addition & 3 deletions providers/github/tests/unit/github/operators/test_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
from airflow.providers.github.operators.github import GithubOperator
from airflow.utils import timezone

pytestmark = pytest.mark.db_test


DEFAULT_DATE = timezone.datetime(2017, 1, 1)
github_client_mock = Mock(name="github_client_for_test")

Expand Down Expand Up @@ -60,6 +57,7 @@ def test_operator_init_with_optional_args(self):
assert github_operator.github_method_args == {}
assert github_operator.result_processor is None

@pytest.mark.db_test
@patch(
"airflow.providers.github.hooks.github.GithubClient", autospec=True, return_value=github_client_mock
)
Expand Down
3 changes: 0 additions & 3 deletions providers/github/tests/unit/github/sensors/test_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
from airflow.providers.github.sensors.github import GithubTagSensor
from airflow.utils import timezone

pytestmark = pytest.mark.db_test


DEFAULT_DATE = timezone.datetime(2017, 1, 1)
github_client_mock = Mock(name="github_client_for_test")

Expand Down