관리-도구
편집 파일: test_directive.cpython-311.pyc
� �܋f� � �@ � d dl Z d dlmZ G d� de j � � ZdS )� N)� Directivec �6 � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z dS ) � TestDirectivez!Tests for tap.directive.Directivec �\ � d}t |� � }| � |j � � d S )NzToDo This is something to do.�r � assertTrue�todo��self�text� directives �i/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/tap/tests/test_directive.py�test_finds_todozTestDirective.test_finds_todo s, � �.���d�O�O� ���� ��'�'�'�'�'� c �\ � d}t |� � }| � |j � � d S )N�TODOr r s r �test_finds_simplest_todoz&TestDirective.test_finds_simplest_todo �, � ����d�O�O� ���� ��'�'�'�'�'r c �\ � d}t |� � }| � |j � � dS )z9TAP spec indicates TODO directives must be on a boundary.z9TODO: Not a TODO directive because of an immediate colon.N)r �assertFalser r s r �test_todo_has_boundaryz$TestDirective.test_todo_has_boundary s. � �J���d�O�O� ������(�(�(�(�(r c �\ � d}t |� � }| � |j � � d S )Nz#Skipping This is something to skip.�r r �skipr s r �test_finds_skipzTestDirective.test_finds_skip s, � �4���d�O�O� ���� ��'�'�'�'�'r c �\ � d}t |� � }| � |j � � d S )N�SKIPr r s r �test_finds_simplest_skipz&TestDirective.test_finds_simplest_skip"