bg@ddlZddlmZGddejZdS)N) Directivec6eZdZdZdZdZdZdZdZdZ dS) TestDirectivez!Tests for tap.directive.Directivec\d}t|}||jdS)NzToDo This is something to do.r assertTruetodoselftext directives i/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/tap/tests/test_directive.pytest_finds_todozTestDirective.test_finds_todo s,.dOO   '''''c\d}t|}||jdS)NTODOrr s rtest_finds_simplest_todoz&TestDirective.test_finds_simplest_todo,dOO   '''''rc\d}t|}||jdS)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 rtest_todo_has_boundaryz$TestDirective.test_todo_has_boundarys.JdOO  (((((rc\d}t|}||jdS)Nz#Skipping This is something to skip.rrskipr s rtest_finds_skipzTestDirective.test_finds_skips,4dOO   '''''rc\d}t|}||jdS)NSKIPrr s rtest_finds_simplest_skipz&TestDirective.test_finds_simplest_skip"rrc\d}t|}||jdS)z,Only match SKIP directives at the beginning.zThis is not something to skip.N)rrrr s rtest_skip_at_beginningz$TestDirective.test_skip_at_beginning(s./dOO  (((((rN) __name__ __module__ __qualname____doc__rrrrrr rrrrst++((( ((( )))((( ((( )))))rr)unittest tap.directiverTestCaserr%rrr)sW######')')')')')H%')')')')')r