aboutsummaryrefslogtreecommitdiff
path: root/tests/mocks/mock_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mocks/mock_commands.py')
-rw-r--r--tests/mocks/mock_commands.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/mocks/mock_commands.py b/tests/mocks/mock_commands.py
deleted file mode 100644
index 278894c4d..000000000
--- a/tests/mocks/mock_commands.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from autogpt.command_decorator import command
-
-
-@command(
- "function_based",
- "Function-based test command",
- {
- "arg1": {"type": "int", "description": "arg 1", "required": True},
- "arg2": {"type": "str", "description": "arg 2", "required": True},
- },
-)
-def function_based(arg1: int, arg2: str) -> str:
- """A function-based test command that returns a string with the two arguments separated by a dash."""
- return f"{arg1} - {arg2}"