Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#40567 - fix PyDocStyle checks #42557

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion tests/www/views/test_views_task_norun.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@


@pytest.fixture(scope="module", autouse=True)
def reset_dagruns():
def _reset_dagruns():
"""Clean up stray garbage from other tests."""
clear_db_runs()

Expand Down
4 changes: 2 additions & 2 deletions tests/www/views/test_views_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@


@pytest.fixture(scope="module", autouse=True)
def reset_dagruns():
def _reset_dagruns():
"""Clean up stray garbage from other tests."""
clear_db_runs()


@pytest.fixture(autouse=True)
def init_dagruns(app):
def _init_dagruns(app):
with time_machine.travel(DEFAULT_DATE, tick=False):
triggered_by_kwargs = {"triggered_by": DagRunTriggeredByType.TEST} if AIRFLOW_V_3_0_PLUS else {}
app.dag_bag.get_dag("example_bash_operator").create_dagrun(
Expand Down
2 changes: 1 addition & 1 deletion tests/www/views/test_views_trigger_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@


@pytest.fixture(autouse=True)
def initialize_one_dag():
def _initialize_one_dag():
with create_session() as session:
DagBag().get_dag("example_bash_operator").sync_to_db(session=session)
yield
Expand Down
2 changes: 1 addition & 1 deletion tests/www/views/test_views_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@


@pytest.fixture(autouse=True)
def clear_variables():
def _clear_variables():
with create_session() as session:
session.query(Variable).delete()

Expand Down