%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/application/twist/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/application/twist/test/__pycache__/test_twist.cpython-312.pyc |
� Ϫ�f� � �` � d Z ddlmZ ddlmZmZmZ ddlZddl m Z ddlmZ ddl mZmZ ddlmZ d d lmZ d dlmZ d dlmZ d d lmZmZ d dlmZ ddlmZ ddlmZ G d� dej@ jB jD � Z# G d� dej@ jB jD � Z$y)z0 Tests for L{twisted.application.twist._twist}. � )�stdout)�Any�Dict�ListN)�IReactorCore)� MemoryReactor)�LogLevel�jsonFileLogObserver)�SignalCapturingMemoryReactor� )� ExitStatus)�Runner)� DummyExit)�IService�MultiService)�_twist� )�TwistOptions)�Twistc �` � e Zd ZdZd d�Zd d�Zd d�Zd d�Zd d�Zd d�Z d d �Z d d �Zd d�Zd d�Z y)� TwistTestsz Tests for L{Twist}. Nc �$ � | j � y �N)�patchInstallReactor��selfs �K/usr/lib/python3/dist-packages/twisted/application/twist/test/test_twist.py�setUpzTwistTests.setUp s � �� � �"� c �d � t � | _ | j t d| j � y)zX Patch L{_twist.exit} so we can capture usage and prevent actual exits. �exitN)r r! �patchr r s r � patchExitzTwistTests.patchExit! s! � � �K�� �� � �6�6�4�9�9�-r c �r � � i � _ dt dt dt f� fd�}� j t d|� y)zo Patch C{_options.installReactor} so we can capture usage and prevent actual installs. �_�name�returnc �: �� t � }|�j |<