a  ze@s:ddlZddlmZGdddejZedkr6edS)N) LoggingResultc@sLeZdZddZddZddZddZd d Zd d Zd dZ ddZ dS)Test_FunctionTestCasecCs"tdd}||ddS)NcSsdSNrrrW/opt/bitninja-python-dojo/embedded/lib/python3.9/unittest/test/test_functiontestcase.py z;Test_FunctionTestCase.test_countTestCases..)unittestFunctionTestCase assertEqualZcountTestCasesselftestrrrtest_countTestCases sz)Test_FunctionTestCase.test_countTestCasescs\gt}fdd}fdd}fdd}gd}t||||||dS)NcsdtddS)NsetUpzraised by setUpappend RuntimeErrorreventsrrrs zHTest_FunctionTestCase.test_run_call_order__error_in_setUp..setUpcsddSNrrrrrrrszGTest_FunctionTestCase.test_run_call_order__error_in_setUp..testcsddSNtearDownrrrrrr!szKTest_FunctionTestCase.test_run_call_order__error_in_setUp..tearDown) startTestraddErrorstopTestrr r runr rresultrrrZexpectedrrr#test_run_call_order__error_in_setUps   z9Test_FunctionTestCase.test_run_call_order__error_in_setUpcs\gt}fdd}fdd}fdd}gd}t||||||dS)NcsddSNrrrrrrr3szGTest_FunctionTestCase.test_run_call_order__error_in_test..setUpcsdtddSNrzraised by testrrrrrr6s zFTest_FunctionTestCase.test_run_call_order__error_in_test..testcsddSrrrrrrr:szJTest_FunctionTestCase.test_run_call_order__error_in_test..tearDownrrrrrrrr rrr"test_run_call_order__error_in_test/s   z8Test_FunctionTestCase.test_run_call_order__error_in_testcs^gt}fdd}fdd}fdd}gd}t|||||dS)NcsddSr#rrrrrrMszITest_FunctionTestCase.test_run_call_order__failure_in_test..setUpcsdddSr$)rZfailrrrrrrPs zHTest_FunctionTestCase.test_run_call_order__failure_in_test..testcsddSrrrrrrrTszLTest_FunctionTestCase.test_run_call_order__failure_in_test..tearDown)rrrrZ addFailurerrr rr'r$test_run_call_order__failure_in_testIs  z:Test_FunctionTestCase.test_run_call_order__failure_in_testcs\gt}fdd}fdd}fdd}gd}t||||||dS)NcsddSr#rrrrrrgszKTest_FunctionTestCase.test_run_call_order__error_in_tearDown..setUpcsddSrrrrrrrjszJTest_FunctionTestCase.test_run_call_order__error_in_tearDown..testcsdtddS)Nrzraised by tearDownrrrrrrms zNTest_FunctionTestCase.test_run_call_order__error_in_tearDown..tearDownr%rr rrr&test_run_call_order__error_in_tearDowncs   z.)r r ZassertIsInstanceidstrr rrrtest_id|szTest_FunctionTestCase.test_idcCs"tdd}||ddS)NcSsdSrrrrrrrrzKTest_FunctionTestCase.test_shortDescription__no_docstring..r r r ZshortDescriptionr rrr#test_shortDescription__no_docstringsz9Test_FunctionTestCase.test_shortDescription__no_docstringcCs*d}tjdd|d}||ddS)Nzthis tests foocSsdSrrrrrrrrzSTest_FunctionTestCase.test_shortDescription__singleline_docstring..) descriptionr-)rZdescrrrr+test_shortDescription__singleline_docstringszATest_FunctionTestCase.test_shortDescription__singleline_docstringN) __name__ __module__ __qualname__rr"r&r(r)r,r.r0rrrrrs r__main__)r Zunittest.test.supportrZTestCaserr1mainrrrrs