Skip to content

Commit

Permalink
pull
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalpalo committed Jan 16, 2025
1 parent cad83be commit 592c4a5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions demisto_sdk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,14 @@ def register_commands(_args: list[str] = []): # noqa: C901
help="This command generates unit tests automatically from an integration's Python code.",
)(generate_unit_tests)

if command_name == "test-use-case" or register_all:
from demisto_sdk.commands.test_content.test_use_case.test_use_case_setup import (
test_use_case
)
app.command(
name="test-use-case", hidden=True, no_args_is_help=True, help="Test Use Cases."
)(test_use_case)


# Register relevant commands to Demisto-SDK app based on command-line arguments.
args = sys.argv[1:]
Expand Down

0 comments on commit 592c4a5

Please sign in to comment.