Skip to content

Commit

Permalink
chore: add leading underscore (apache#43843)
Browse files Browse the repository at this point in the history
  • Loading branch information
LyndonFan authored and ellisms committed Nov 13, 2024
1 parent 4b2b51e commit 423d899
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/breeze/tests/test_run_test_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def mock_get_excluded_provider_folders():


@pytest.fixture(autouse=True)
def mock_sleep():
def _mock_sleep():
"""_run_test does a 10-second sleep in CI, so we mock the sleep function to save CI test time."""
with patch("airflow_breeze.commands.testing_commands.sleep"):
yield
Expand Down
4 changes: 2 additions & 2 deletions tests/always/test_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@pytest.mark.backend("postgres", "mysql")
class TestPandasSQLAlchemyCompatibility:
@pytest.fixture(autouse=True)
def setup_test_cases(self):
def _setup_test_cases(self):
self.temp_table = "test_to_pandas"
uri = conf.get_mandatory_value("database", "sql_alchemy_conn")
self.engine = create_engine(uri)
Expand All @@ -45,7 +45,7 @@ def test_write_read_to_db(self):

class TestPandasSQLAlchemyCompatibilitySQLite:
@pytest.fixture(autouse=True)
def setup_test_cases(self):
def _setup_test_cases(self):
self.temp_table = "test_to_pandas"
self.engine = create_engine("sqlite:///:memory:")
yield
Expand Down

0 comments on commit 423d899

Please sign in to comment.