vincbeck commented on code in PR #48699:
URL: https://github.com/apache/airflow/pull/48699#discussion_r2028769854
##########
devel-common/src/tests_common/pytest_plugin.py:
##########
@@ -224,6 +224,12 @@ def pytest_addoption(parser: pytest.Parser):
dest="db_init",
help="Forces database initialization before tests",
)
+ group.addoption(
+ "--without-db-init",
+ action="store_true",
+ dest="no_db_init",
+ help="Forces NO database initialization before tests",
Review Comment:
I see, that makes sense :) Could you please update the `help` of both
commands to basically explain what you just explain, it could very helpful for
others (or even us in some time xD). Could you also mention they are mutually
exclusive (might be obvious but ...)
##########
devel-common/src/tests_common/pytest_plugin.py:
##########
@@ -224,6 +224,12 @@ def pytest_addoption(parser: pytest.Parser):
dest="db_init",
help="Forces database initialization before tests",
)
+ group.addoption(
+ "--without-db-init",
+ action="store_true",
+ dest="no_db_init",
+ help="Forces NO database initialization before tests",
Review Comment:
I see, that makes sense :) Could you please update the `help` of both
commands to basically explain what you just explained, it could very helpful
for others (or even us in some time xD). Could you also mention they are
mutually exclusive (might be obvious but ...)
--
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]