| Server IP : 3.7.136.76 / Your IP : 216.73.216.142 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-39-148 7.0.0-1010-aws #10~24.04.1-Ubuntu SMP PREEMPT Mon Jul 27 17:41:33 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /snap/core22/current/usr/share/subiquity/subiquitycore/tests/__pycache__/ |
Upload File : |
o
K��^ � @ s` d dl Z d dlmZ d dlmZ d dlmZmZ d dlm Z G dd� de�Z
G dd � d e�ZdS )
� N)�SubiTestCase)�BaseView)�Stretchy�StretchyOverlay)�
undisabledc s4 e Zd Zd ZZ� fdd�Zdd� Zdd� Z� ZS )�InstrumentedStretchyFc s t � �dt�d�gdd� d S )N� r )�super�__init__�urwid�Text��self�� __class__� �5/usr/share/subiquity/subiquitycore/tests/test_view.pyr
s zInstrumentedStretchy.__init__c C �
d| _ d S �NT)�
was_openedr
r r r �opened �
zInstrumentedStretchy.openedc C r r )�
was_closedr
r r r �closed r zInstrumentedStretchy.closed) �__name__�
__module__�__qualname__r r r
r r �
__classcell__r r r r r s
r c @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S )
�TestBaseViewc C s8 |j }g }t|t�r|�|j� t|j�}t|t�s
|S �N)�_w�
isinstancer �append�stretchyr �bottom_w)r �view�rr r r �get_stretchy_chain&