Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Index Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword Num keyword Num AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr attr decorator_list decorator_list
N/A N/A unittest tap.i18n _ tap.rules Rules tap.tests TestCase TestRules N/A TestCase N/A N/A Tests for tap.rules.Rules _make_one N/A N/A self N/A N/A N/A N/A self suite N/A N/A unittest TestSuite N/A N/A Rules foobar.tap N/A self suite N/A test_handles_skipping_plan N/A N/A self N/A N/A N/A skip_plan N/A N/A N/A self factory make_plan directive_text Skip on Mondays. N/A rules N/A N/A self _make_one N/A N/A N/A rules handle_skipping_plan skip_plan N/A N/A N/A self assertEqual 1 N/A len N/A N/A self suite _tests N/A N/A N/A self assertEqual Skip on Mondays. N/A N/A N/A N/A N/A self suite _tests N/A 0 _line description N/A test_tracks_plan_line N/A N/A self N/A N/A N/A plan N/A N/A N/A self factory make_plan N/A rules N/A N/A self _make_one N/A N/A N/A rules saw_plan plan 28 N/A N/A N/A self assertEqual N/A N/A N/A N/A rules _lines_seen N/A plan N/A 0 N/A 0 plan N/A N/A N/A self assertEqual N/A N/A N/A N/A rules _lines_seen N/A plan N/A 0 N/A 1 28 N/A test_errors_plan_not_at_end N/A N/A self N/A N/A N/A plan N/A N/A N/A self factory make_plan N/A rules N/A N/A self _make_one N/A N/A N/A rules saw_plan plan 41 N/A N/A N/A rules check 42 N/A N/A N/A self assertEqual N/A _ A plan must appear at the beginning or end of the file. N/A N/A N/A N/A N/A self suite _tests N/A 0 _line description N/A test_requires_plan N/A N/A self N/A N/A N/A rules N/A N/A self _make_one N/A N/A N/A rules check 42 N/A N/A N/A self assertEqual N/A _ Missing a plan. N/A N/A N/A N/A N/A self suite _tests N/A 0 _line description N/A test_only_one_plan N/A N/A self N/A N/A N/A plan N/A N/A N/A self factory make_plan N/A rules N/A N/A self _make_one N/A N/A N/A rules saw_plan plan 41 N/A N/A N/A rules saw_plan plan 42 N/A N/A N/A rules check 42 N/A N/A N/A self assertEqual N/A _ Only one plan line is permitted per file. N/A N/A N/A N/A N/A self suite _tests N/A 0 _line description N/A test_plan_line_two N/A N/A self N/A N/A N/A A plan may appear on line 2 when line 1 is a version line. N/A rules N/A N/A self _make_one N/A N/A N/A rules saw_version_at 1 N/A valid N/A N/A rules _plan_on_valid_line at_line 2 final_line_count 42 N/A N/A N/A self assertTrue valid N/A test_errors_when_expected_tests_differs_from_actual N/A N/A self N/A N/A N/A plan N/A N/A N/A self factory make_plan expected_tests 42 N/A rules N/A N/A self _make_one N/A N/A N/A rules saw_plan plan 1 N/A N/A N/A rules saw_test N/A N/A N/A rules check 2 N/A N/A N/A self assertEqual N/A N/A N/A _ Expected {expected_count} tests but only {seen_count} ran. format expected_count 42 seen_count 1 N/A N/A N/A N/A N/A self suite _tests N/A 0 _line description N/A test_errors_on_bail N/A N/A self N/A N/A N/A bail N/A N/A N/A self factory make_bail reason Missing something important. N/A rules N/A N/A self _make_one N/A N/A N/A rules handle_bail bail N/A N/A N/A self assertEqual 1 N/A len N/A N/A self suite _tests N/A N/A N/A self assertEqual N/A N/A N/A _ Bailed: {reason} format reason Missing something important. N/A N/A N/A N/A N/A self suite _tests N/A 0 _line description N/A N/A