Skip to content

Commit d083fae

Browse files
committed
test(_parse_help): add comments to test cases related to smartctl
1 parent b53b143 commit d083fae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/t/unit/test_unit_parse_help.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,13 @@ def test_32(self, bash):
204204
assert output.split() == "--exclude=".split()
205205

206206
def test_33(self, bash):
207+
"""Pattern found in the output of 'smartctl --help'."""
207208
assert_bash_exec(bash, "fn() { echo '-f A1[,A2[,A3]] --foo=A1[,A2[,A3]]'; }")
208209
output = assert_bash_exec(bash, "_parse_help fn", want_output=True)
209210
assert output.split() == "--foo".split()
210211

211212
def test_34(self, bash):
213+
"""Pattern found in the output of 'smartctl --help'."""
212214
assert_bash_exec(bash, "fn() { echo '-f [+]ARG --foo=[+]ARG'; }")
213215
output = assert_bash_exec(bash, "_parse_help fn", want_output=True)
214216
assert output.split() == "--foo".split()

0 commit comments

Comments
 (0)