Skip to content

Commit

Permalink
Fixup lint
Browse files Browse the repository at this point in the history
asmacdo committed Sep 27, 2024
1 parent e46c42c commit ea2fa93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dandi/tests/test_helptext.py
Original file line number Diff line number Diff line change
@@ -2,9 +2,15 @@


def get_helptext(command):
result = subprocess.run([*command, '--help'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
result = subprocess.run(
[*command, '--help'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True
)
return result.stdout


def test_resource_identifier_helptext():
# The \n chars must be included for correct rendering
correct = "Accepted resource identifier patterns:\n - DANDI:<dandiset id>[/<version>]\n"

0 comments on commit ea2fa93

Please sign in to comment.