Skip to content

Commit fde5463

Browse files
authored
Fix indentation in core conf test (apache#47424)
1 parent 83643e5 commit fde5463

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/core/test_configuration.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,11 @@ def test_auth_backends_adds_session(self):
640640
)
641641

642642
def test_command_from_env(self):
643-
test_cmdenv_config = """[testcmdenv]
644-
itsacommand = NOT OK
645-
notacommand = OK
646-
"""
643+
test_cmdenv_config = textwrap.dedent("""\
644+
[testcmdenv]
645+
itsacommand=NOT OK
646+
notacommand=OK
647+
""")
647648
test_cmdenv_conf = AirflowConfigParser()
648649
test_cmdenv_conf.read_string(test_cmdenv_config)
649650
test_cmdenv_conf.sensitive_config_values.add(("testcmdenv", "itsacommand"))

0 commit comments

Comments
 (0)