aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Twisted/py3/twisted/trial/_dist/workercommands.py
diff options
context:
space:
mode:
authorshmel1k <shmel1k@ydb.tech>2023-11-26 18:16:14 +0300
committershmel1k <shmel1k@ydb.tech>2023-11-26 18:43:30 +0300
commitb8cf9e88f4c5c64d9406af533d8948deb050d695 (patch)
tree218eb61fb3c3b96ec08b4d8cdfef383104a87d63 /contrib/python/Twisted/py3/twisted/trial/_dist/workercommands.py
parent523f645a83a0ec97a0332dbc3863bb354c92a328 (diff)
downloadydb-b8cf9e88f4c5c64d9406af533d8948deb050d695.tar.gz
add kikimr_configure
Diffstat (limited to 'contrib/python/Twisted/py3/twisted/trial/_dist/workercommands.py')
-rw-r--r--contrib/python/Twisted/py3/twisted/trial/_dist/workercommands.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/python/Twisted/py3/twisted/trial/_dist/workercommands.py b/contrib/python/Twisted/py3/twisted/trial/_dist/workercommands.py
new file mode 100644
index 0000000000..f7d8d26b2e
--- /dev/null
+++ b/contrib/python/Twisted/py3/twisted/trial/_dist/workercommands.py
@@ -0,0 +1,30 @@
+# Copyright (c) Twisted Matrix Laboratories.
+# See LICENSE for details.
+
+"""
+Commands for telling a worker to load tests or run tests.
+
+@since: 12.3
+"""
+
+from twisted.protocols.amp import Boolean, Command, Unicode
+
+NativeString = Unicode
+
+
+class Run(Command):
+ """
+ Run a test.
+ """
+
+ arguments = [(b"testCase", NativeString())]
+ response = [(b"success", Boolean())]
+
+
+class Start(Command):
+ """
+ Set up the worker process, giving the running directory.
+ """
+
+ arguments = [(b"directory", NativeString())]
+ response = [(b"success", Boolean())]