File: //lib/python3/dist-packages/twisted/test/__pycache__/test_main.cpython-38.pyc
U
W[� � @ s| d Z ddlmZmZ ddlZddlmZ ddlmZ ddl m
Z
mZ ddlm
Z ddlmZ dd lmZ G d
d� de�ZdS )z6
Test that twisted scripts can be invoked as modules.
� )�division�absolute_importN)�TwistOptions)�trial)�defer�reactor)�NativeStringIO)�Accumulator)�TestCasec @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) � MainTestsz4Test that twisted scripts can be invoked as modules.c sv t j}t� � t�� }� _tj� ||dddgdd� � j� � ddl
m} ��t d|j
dg� � �fd d
�}|�|�S )z0Invoking python -m twisted should execute twist.�-m�twisted�--helpN��envr ��__main__�argvc s<