change max lenght

This commit is contained in:
Pablo Estevez
2026-01-17 17:48:15 +00:00
parent 97e597d9db
commit c33c6f9073
118 changed files with 3546 additions and 960 deletions

View File

@@ -98,7 +98,9 @@ class TestUploadSkillCLI(unittest.TestCase):
import subprocess
try:
result = subprocess.run(["skill-seekers", "upload", "--help"], capture_output=True, text=True, timeout=5)
result = subprocess.run(
["skill-seekers", "upload", "--help"], capture_output=True, text=True, timeout=5
)
# argparse may return 0 or 2 for --help
self.assertIn(result.returncode, [0, 2])
@@ -112,7 +114,9 @@ class TestUploadSkillCLI(unittest.TestCase):
import subprocess
try:
result = subprocess.run(["skill-seekers-upload", "--help"], capture_output=True, text=True, timeout=5)
result = subprocess.run(
["skill-seekers-upload", "--help"], capture_output=True, text=True, timeout=5
)
# argparse may return 0 or 2 for --help
self.assertIn(result.returncode, [0, 2])
@@ -126,7 +130,11 @@ class TestUploadSkillCLI(unittest.TestCase):
result = subprocess.run(["python3", "cli/upload_skill.py"], capture_output=True, text=True)
# Should fail or show usage
self.assertTrue(result.returncode != 0 or "usage" in result.stderr.lower() or "usage" in result.stdout.lower())
self.assertTrue(
result.returncode != 0
or "usage" in result.stderr.lower()
or "usage" in result.stdout.lower()
)
if __name__ == "__main__":