jedcunningham commented on code in PR #47424:
URL: https://github.com/apache/airflow/pull/47424#discussion_r1982357204
##########
tests/core/test_configuration.py:
##########
@@ -641,11 +641,11 @@ def test_auth_backends_adds_session(self):
def test_command_from_env(self):
test_cmdenv_config = """[testcmdenv]
-itsacommand = NOT OK
-notacommand = OK
-"""
+ itsacommand=NOT OK
+ notacommand=OK
+ """
test_cmdenv_conf = AirflowConfigParser()
- test_cmdenv_conf.read_string(test_cmdenv_config)
+ test_cmdenv_conf.read_string(textwrap.dedent(test_cmdenv_config))
Review Comment:
```suggestion
test_cmdenv_conf.read_string(test_cmdenv_config)
```
That should do it.
##########
tests/core/test_configuration.py:
##########
@@ -641,11 +641,11 @@ def test_auth_backends_adds_session(self):
def test_command_from_env(self):
test_cmdenv_config = """[testcmdenv]
Review Comment:
```suggestion
test_cmdenv_config = testwrap.dedent("""
[testcmdenv]
```
--
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]