cjames23 commented on PR #31939:
URL: https://github.com/apache/airflow/pull/31939#issuecomment-1607951691

   @potiuk is there a way to run selective checks locally with breeze? If I try 
to run it with pytest inside the breeze container I get an import error. 
   
   ```
   ImportError while importing test module 
'/opt/airflow/dev/breeze/tests/test_selective_checks.py'.
   Hint: make sure your test modules/packages have valid Python names.
   Traceback:
   /usr/local/lib/python3.8/site-packages/_pytest/python.py:617: in 
_importtestmodule
       mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
   /usr/local/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path
       importlib.import_module(module_name)
   /usr/local/lib/python3.8/importlib/__init__.py:127: in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
   <frozen importlib._bootstrap>:1014: in _gcd_import
       ???
   <frozen importlib._bootstrap>:991: in _find_and_load
       ???
   <frozen importlib._bootstrap>:975: in _find_and_load_unlocked
       ???
   <frozen importlib._bootstrap>:671: in _load_unlocked
       ???
   /usr/local/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in 
exec_module
       exec(co, module.__dict__)
   test_selective_checks.py:24: in <module>
       from airflow_breeze.global_constants import COMMITTERS, GithubEvents
   E   ModuleNotFoundError: No module named 'airflow_breeze'
   ```
   I want to test if for http do I need to set run-amazon-tests to true rather 
than false based on the latest error I am seeing from the last attempted run. 
    


-- 
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