python (3.12.0)
̑e. ~ d dl Z d dlZd dlZd dlZddlmZmZ ddlmZ dZ dZ
dZdZd Z
d
Zd Z G d d
e ZeZy) N )loaderrunner)installHandlerT a Examples:
%(prog)s test_module - run tests from test_module
%(prog)s module.TestClass - run tests from module.TestClass
%(prog)s module.Class.test_method - run specified test method
%(prog)s path/to/test_file.py - run tests from test_file.py
aF Examples:
%(prog)s - run default set of tests
%(prog)s MyTestSuite - run suite 'MyTestSuite'
%(prog)s MyTestCase.testSomething - run MyTestCase.testSomething
%(prog)s MyTestCase - run all 'test*' test methods
in MyTestCase
c , t j j | r| j j d rt j j | rtt j j
| t j }t j j | s|j t j r| S |} t j j | d d j dd j dd S | S )Nz.py\./)ospathisfilelowerendswithisabsrelpathgetcwd
startswithpardirnormpathreplace)namerel_paths A/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/unittest/main.py
_convert_namer s
ww~~d
5 5e <
77==wwtRYY[9Hww}}X&(*=*=bii*HD ww%cr*224=EEc3OOK c >