amoghrajesh commented on code in PR #29926:
URL: https://github.com/apache/airflow/pull/29926#discussion_r1141620277
##########
tests/www/views/test_views.py:
##########
@@ -62,6 +62,13 @@ def test_configuration_expose_config(admin_client):
check_content_in_response(["Airflow Configuration"], resp)
[email protected](os.environ, {"AIRFLOW__WEBSERVER_CONFIG_FILE":
"{AIRFLOW_HOME}/config/webserver_config.py"})
Review Comment:
Trying something like this too
```
@mock.patch("airflow.configuration.conf")
def test_webserver_configuration_config_file(conf):
conf.get.return_value = "/tmp/webserver_config.py"
assert WEBSERVER_CONFIG == "/tmp/webserver_config.py"
```
I think I am missing something trivial here. Any idea?
--
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]