HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/twisted/conch/test/__pycache__/test_scripts.cpython-38.pyc
U


W[_�
@s�dZddlmZed�rdZndZed�r0dZndZed�rBdZnd	ZzddlZWnek
rjd
ZYnHXze�	��
�Wn0ejk
r�Zzde
e�ZW5dZ[XYnXdZddlmZdd
lmZddlmZGdd�dee�ZGdd�dee�ZdS)z1
Tests for the command-line interfaces to conch.
�)�
requireModuleZpyasn1NzCannot run without PyASN1Zcryptographyzcan't run w/o cryptographyZttyzcan't run w/o ttyzcan't run w/o TkinterzCan't test Tkinter: )�TestCase)�ScriptTestsMixin)�ZshScriptTestMixinc@sVeZdZdZepeZdd�Zep"ee_dd�Z	ep4ee	_dd�Z
dd	�ZepNee_d
S)�ScriptTestsz&
    Tests for the Conch scripts.
    cCs|�d�dS)Nzconch/conch�Z
scriptTest��self�r
�A/usr/lib/python3/dist-packages/twisted/conch/test/test_scripts.py�
test_conch1szScriptTests.test_conchcCs|�d�dS)Nz
conch/cftprrr
r
r�	test_cftp6szScriptTests.test_cftpcCs|�d�dS)Nz
conch/ckeygenrrr
r
r�test_ckeygen;szScriptTests.test_ckeygencCs|�d�dS)Nz
conch/tkconchrrr
r
r�test_tkconch?szScriptTests.test_tkconchN)
�__name__�
__module__�__qualname__�__doc__�
pyasn1Skip�
cryptoSkip�skipr�ttySkipr
rr�tkskipr
r
r
rr*s

rc@seZdZdZddddgZdS)�ZshIntegrationTestszH
    Test that zsh completion functions are generated without error
    )Zconchz)twisted.conch.scripts.conch.ClientOptions)Zcftpz(twisted.conch.scripts.cftp.ClientOptions)Zckeygenz,twisted.conch.scripts.ckeygen.GeneralOptions)Ztkconchz,twisted.conch.scripts.tkconch.GeneralOptionsN)rrrrZgenerateForr
r
r
rrEs�r)rZtwisted.python.reflectrrrrZTkinter�ImportErrorrZTkZdestroyZTclError�e�strZtwisted.trial.unittestrZ!twisted.scripts.test.test_scriptsrZ"twisted.python.test.test_shellcomprrrr
r
r
r�<module>s0