Server IP : 172.67.216.182 / Your IP : 172.69.176.130 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/trial/_dist/ |
Upload File : |
# -*- test-case-name: twisted.trial._dist.test -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ This package implements the distributed Trial test runner: - The L{twisted.trial._dist.disttrial} module implements a test runner which runs in a manager process and can launch additional worker processes in which to run tests and gather up results from all of them. - The L{twisted.trial._dist.options} module defines command line options used to configure the distributed test runner. - The L{twisted.trial._dist.managercommands} module defines AMP commands which are sent from worker processes back to the manager process to report the results of tests. - The L{twisted.trial._dist.workercommands} module defines AMP commands which are sent from the manager process to the worker processes to control the execution of tests there. - The L{twisted.trial._dist.distreporter} module defines a proxy for L{twisted.trial.itrial.IReporter} which enforces the typical requirement that results be passed to a reporter for only one test at a time, allowing any reporter to be used with despite disttrial's simultaneously running tests. - The L{twisted.trial._dist.workerreporter} module implements a L{twisted.trial.itrial.IReporter} which is used by worker processes and reports results back to the manager process using AMP commands. - The L{twisted.trial._dist.workertrial} module is a runnable script which is the main point for worker processes. - The L{twisted.trial._dist.worker} process defines the manager's AMP protocol for accepting results from worker processes and a process protocol for use running workers as local child processes (as opposed to distributing them to another host). @since: 12.3 """ # File descriptors numbers used to set up pipes with the worker. _WORKER_AMP_STDIN = 3 _WORKER_AMP_STDOUT = 4