Your IP : 216.73.216.213


Current Path : /opt/alt/python37/lib/python3.7/site-packages/tap/tests/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/tap/tests/__pycache__/test_directive.cpython-37.pyc

B

.��V��@s*ddlZddlmZGdd�dej�ZdS)�N)�	Directivec@s@eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dS)�
TestDirectivez!Tests for tap.directive.DirectivecCsd}t|�}|�|j�dS)NzToDo This is something to do.)r�
assertTrue�todo)�self�text�	directive�r	�I/opt/alt/python37/lib/python3.7/site-packages/tap/tests/test_directive.py�test_finds_todoszTestDirective.test_finds_todocCsd}t|�}|�|j�dS)NZTODO)rrr)rrrr	r	r
�test_finds_simplest_todosz&TestDirective.test_finds_simplest_todocCsd}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)rrrr	r	r
�test_todo_has_boundarysz$TestDirective.test_todo_has_boundarycCsd}t|�}|�|j�dS)Nz#Skipping This is something to skip.)rr�skip)rrrr	r	r
�test_finds_skipszTestDirective.test_finds_skipcCsd}t|�}|�|j�dS)NZSKIP)rrr)rrrr	r	r
�test_finds_simplest_skip$sz&TestDirective.test_finds_simplest_skipcCsd}t|�}|�|j�dS)z,Only match SKIP directives at the beginning.zThis is not something to skip.N)rr
r)rrrr	r	r
�test_skip_at_beginning*sz$TestDirective.test_skip_at_beginningN)
�__name__�
__module__�__qualname__�__doc__rrrrrrr	r	r	r
rsr)�unittest�
tap.directiver�TestCaserr	r	r	r
�<module>s