Skip to content

Conversation

@jscheffl
Copy link
Contributor

@jscheffl jscheffl commented Aug 8, 2024

Related: #41067

Fixes the tests/models/test_taskinstance.py for Database Isolation Tests.

Small adjustments on conftest allowing to pass the serialization parameter also for task_instance only creations.

As I was reworking the tests, I needed to notice that the function get_previous_start_date() was missing on the pydantic model - added in scope of this PR.

FYI @bugraoz93

@bugraoz93
Copy link
Contributor

This is used from multiple sources in the tests. Thanks for the change! I think it will make it easy to fix the test using this method from conftest.

@jscheffl jscheffl merged commit f811ac3 into apache:main Aug 9, 2024
jscheffl added a commit to jscheffl/airflow that referenced this pull request Aug 9, 2024
potiuk pushed a commit that referenced this pull request Aug 11, 2024
@potiuk potiuk added this to the Airflow 2.10.0 milestone Aug 11, 2024
@jscheffl jscheffl deleted the bugfix/41067-fix-tests-models-test_taskinstance branch October 5, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants