HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/twisted/conch/test/__pycache__/test_scripts.cpython-310.pyc
o

�b��
@sdZddlmZddlmZddlmZddlmZddl	m
Z
dZdZed	�s,d
ZdZed�s4d
Zd
Z
ed�s<d
ZdZzddlZWn
eyOd
ZdZYn%wze����WnejysZzd
Zdee�ZWYdZ[ndZ[wweee�Gdd�de
e��ZGdd�de
e�ZdS)z1
Tests for the command-line interfaces to conch.
�)�skipIf)�
requireModule)�ZshScriptTestMixin)�ScriptTestsMixin)�TestCaseF��pyasn1TzCannot run without PyASN1�cryptographyzcan't run w/o cryptography�ttyzcan't run w/o ttyNzcan't run w/o tkinterzCan't test Tkinter: c@s0eZdZdZdd�Zdd�Zdd�Zdd	�Zd
S)�ScriptTestsz&
    Tests for the Conch scripts.
    cC�|�d�dS)Nzconch/conch��
scriptTest��self�r�A/usr/lib/python3/dist-packages/twisted/conch/test/test_scripts.py�
test_conch0�zScriptTests.test_conchcCr)Nz
conch/cftpr
rrrr�	test_cftp3rzScriptTests.test_cftpcCr)Nz
conch/ckeygenr
rrrr�test_ckeygen6rzScriptTests.test_ckeygencCr)Nz
conch/tkconchr
rrrr�test_tkconch9rzScriptTests.test_tkconchN)�__name__�
__module__�__qualname__�__doc__rrrrrrrrr*src@seZdZdZgd�ZdS)�ZshIntegrationTestszH
    Test that zsh completion functions are generated without error
    ))�conchz)twisted.conch.scripts.conch.ClientOptions)�cftpz(twisted.conch.scripts.cftp.ClientOptions)�ckeygenz,twisted.conch.scripts.ckeygen.GeneralOptions)�tkconchz,twisted.conch.scripts.tkconch.GeneralOptionsN)rrrr�generateForrrrrr=sr)r�unittestr�twisted.python.reflectr�"twisted.python.test.test_shellcompr�!twisted.scripts.test.test_scriptsr�twisted.trial.unittestr�doSkip�
skipReason�
cryptoSkip�ttySkip�tkinter�ImportError�Tk�destroy�TclError�e�strrrrrrr�<module>sB���