Skip to content

Update test_file_not_new_enough with logical_date example#36681

Closed
fpopic wants to merge 4 commits intoapache:mainfrom
fpopic:patch-1
Closed

Update test_file_not_new_enough with logical_date example#36681
fpopic wants to merge 4 commits intoapache:mainfrom
fpopic:patch-1

Conversation

@fpopic
Copy link
Contributor

@fpopic fpopic commented Jan 9, 2024

related: #36629


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@fpopic fpopic changed the title Update test_file_not_new_enough in test_sftp.py with full datetime [WIP] Update test_file_not_new_enough in test_sftp.py with full datetime Jan 9, 2024
@fpopic fpopic changed the title [WIP] Update test_file_not_new_enough in test_sftp.py with full datetime [WIP] Update test_file_not_new_enough in test_sftp.py with logical_date example Jan 9, 2024
Copy link
Contributor

@dirrao dirrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Static checks are failing. I would recommend to use pre-commit checks.
https://github.com/apache/airflow/blob/main/STATIC_CODE_CHECKS.rst

@@ -86,16 +86,15 @@ def test_file_new_enough(self, sftp_hook_mock):

@patch("airflow.providers.sftp.sensors.sftp.SFTPHook")
def test_file_not_new_enough(self, sftp_hook_mock):
Copy link
Contributor

@dirrao dirrao Jan 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It male sense to update for the test_file_new_enough test case as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, once the solution to #36629 is found can update.

@fpopic fpopic marked this pull request as draft January 16, 2024 22:59
@github-actions
Copy link

github-actions bot commented Mar 2, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Mar 2, 2024
@github-actions github-actions bot closed this Mar 8, 2024
@fpopic fpopic deleted the patch-1 branch June 19, 2025 21:26
@fpopic fpopic changed the title [WIP] Update test_file_not_new_enough in test_sftp.py with logical_date example [WIP] Update test_file_not_new_enough with logical_date example Jun 21, 2025
@fpopic fpopic changed the title [WIP] Update test_file_not_new_enough with logical_date example Update test_file_not_new_enough with logical_date example Jun 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:sftp stale Stale PRs per the .github/workflows/stale.yml policy file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants