aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/tests/mocks/mock_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'autogpts/autogpt/tests/mocks/mock_commands.py')
-rw-r--r--autogpts/autogpt/tests/mocks/mock_commands.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/autogpts/autogpt/tests/mocks/mock_commands.py b/autogpts/autogpt/tests/mocks/mock_commands.py
deleted file mode 100644
index ab9e961b6..000000000
--- a/autogpts/autogpt/tests/mocks/mock_commands.py
+++ /dev/null
@@ -1,29 +0,0 @@
-from autogpt.command_decorator import command
-from autogpt.core.utils.json_schema import JSONSchema
-
-COMMAND_CATEGORY = "mock"
-
-
-@command(
- "function_based_cmd",
- "Function-based test command",
- {
- "arg1": JSONSchema(
- type=JSONSchema.Type.INTEGER,
- description="arg 1",
- required=True,
- ),
- "arg2": JSONSchema(
- type=JSONSchema.Type.STRING,
- description="arg 2",
- required=True,
- ),
- },
-)
-def function_based_cmd(arg1: int, arg2: str) -> str:
- """A function-based test command.
-
- Returns:
- str: the two arguments separated by a dash.
- """
- return f"{arg1} - {arg2}"