generated from jCloud/repository-template
style: format source code using Ruff
This commit is contained in:
41 files changed
+6061
-5670
No files matched your search
@@ -15,6 +15,7 @@
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
def test_cli():
|
||||
result = subprocess.run(
|
||||
[
|
||||
@@ -23,12 +24,13 @@ def test_cli():
|
||||
'jcloud_docsgen',
|
||||
'--help',
|
||||
],
|
||||
capture_output = True,
|
||||
text = True,
|
||||
capture_output=True,
|
||||
text=True,
|
||||
)
|
||||
stdout = result.stdout.lower()
|
||||
assert \
|
||||
'usage:' in stdout and \
|
||||
'positional arguments' in stdout and \
|
||||
'options' in stdout and \
|
||||
'--help' in stdout
|
||||
assert (
|
||||
'usage:' in stdout
|
||||
and 'positional arguments' in stdout
|
||||
and 'options' in stdout
|
||||
and '--help' in stdout
|
||||
)
|
||||
Reference in new issue
Block a user