betodealmeida commented on a change in pull request #17543:
URL: https://github.com/apache/superset/pull/17543#discussion_r813445993
##########
File path: tests/unit_tests/columns/__init__.py
##########
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review comment:
It is... in theory in Python 3 empty `__init__py` files are not needed,
but in practice we had a lot of problems when we omit them.
For `pytest` in particular, if you have files with the same name in
different directories inside your tests, like:
- `tests/unit_tests/datasets/test_model.py`
- `tests/unit_tests/tables/test_model.py`
Then you *need* to add the `__init__.py` file to the subdirectories,
otherwise pytest will only read one of them.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]