Remove all usages of days_ago from test suite
See original GitHub issueBody
days_ago
is deprecated https://github.com/apache/airflow/pull/21653
We have several references to the function in test suite / example dags.
Task:
there should be no imports of airflow.utils.dates import days_ago
in the code.
In most cases we can simple replace with datetime(2022, 1, 1)
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Deleting a Test Suite : r/azuredevops - Reddit
Try to use Test Suites - Delete REST API to delete the test suites. DELETE https://dev.azure.com/{organization}/{project}/_apis/test/Plans/{ ...
Read more >How can I clear the Jest cache? - Stack Overflow
As of Jest 22.0.0+, you can use the --clearCache option: Deletes the Jest cache directory and then exits without running tests. Will delete...
Read more >Delete test artifacts in Azure Boards - Microsoft Learn
Deletion of test artifacts not only deletes the selected test artifact but also all its associated child items such as child test suites,...
Read more >Delete files older than X days + - Unix & Linux Stack Exchange
Replace -delete with -depth -print to test this command before you run it ( -delete ... This will remove all files (type f)...
Read more >Working Effectively with Data Factories Using FactoryBot
In fact, you should create them for each use case of the factory in order to be able to test all use cases...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hubert-pietron sure, assigned to you.
fixed in https://github.com/apache/airflow/pull/23237 and duplicated of https://github.com/apache/airflow/issues/23233 I don’t know why I opened two issues for this 😕