Skip to content

Fix config discovery for airflow_bdd_config.py in tests directory#23

Open
judoole wants to merge 1 commit into
mainfrom
fix-finding-airflow-bdd-config
Open

Fix config discovery for airflow_bdd_config.py in tests directory#23
judoole wants to merge 1 commit into
mainfrom
fix-finding-airflow-bdd-config

Conversation

@judoole

@judoole judoole commented Feb 17, 2026

Copy link
Copy Markdown
Owner
  • Add path normalization using os.path.abspath() to handle both absolute and relative paths
  • Fix test_find_config_in_tests_directory to properly mock os.getcwd() to simulate pytest running from project root
  • Add test case for test files in subdirectories of tests directory
  • Ensures config file in tests folder is discovered when running pytest from another project

- Add path normalization using os.path.abspath() to handle both absolute and relative paths
- Fix test_find_config_in_tests_directory to properly mock os.getcwd() to simulate pytest running from project root
- Add test case for test files in subdirectories of tests directory
- Ensures config file in tests folder is discovered when running pytest from another project

Co-authored-by: Cursor <cursoragent@cursor.com>
@judoole judoole self-assigned this Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant