python (3.11.7)
e, d dl Z d dlZd dlZd dlZddlmZmZ ddlmZ dZ dZ
dZd Zd Z
d
Z G d de ZeZdS )
N )loaderrunner)installHandlerTa 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 V t j | r| d rt j | rst j | t j }t j | s| t j r| S |} t j
| d d dd dd S | S )Nz.py\./)ospathisfilelowerendswithisabsrelpathgetcwd
startswithpardirnormpathreplace)namerel_paths A/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/unittest/main.py
_convert_namer s
w~~d P
5 5e < <