potiuk commented on issue #56287:
URL: https://github.com/apache/airflow/issues/56287#issuecomment-3407672136

   I think you should debig it @sc250072 . Just the usual way you debug things
   
   1) print the variable after it is set in the init
   2) check if environment variable is actually set where you want to read it 
in the Dag (simply printing it should work). 
   3) check if it is set before the "pytest" command (look and run_tests.py - 
there is a place where pytest command is run
   4)  Finally you can use `--verbose` to see the exact command that is 
executed by breeze (it's a copy-pesteable docker-compose command that is 
executed) and manually run the exact command that breeze runs
   
   Maybe there are other conftetst.py rules that are removing the variable 
somewhere on your path - but only by this debugging you can find where it is 
likely - it's not a rocket science. It's just a docker-compose command that 
gets executed, so debugging it should be easy once you know `--verbose` and can 
follow it step-by-step.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to