We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e16f8 commit dda6889Copy full SHA for dda6889
tests/test_config.py
@@ -244,10 +244,13 @@ def test_environment_vars_in_toml_config(self):
244
"x${NOTHING}y",
245
"huh$${X}what",
246
]
247
+ [othersection]
248
+ something = "if [ $OTHER ]; then printf '%s\\n' 'Hi'; fi"
249
""")
250
self.set_environ("BRANCH", "true")
251
self.set_environ("DATA_FILE", "hello-world")
252
self.set_environ("THING", "ZZZ")
253
+ self.set_environ("OTHER", "hi\\zebra")
254
cov = coverage.Coverage()
255
assert cov.config.data_file == "hello-world.fooey"
256
assert cov.config.branch is True
0 commit comments