1a00c522e29c3f1040ad6bfe615b57d17af0658e,src/python/pants/backend/python/rules/pytest_runner_integration_test.py,PytestRunnerIntegrationTest,run_pytest,#,135
Before Change
options_bootstrapper = create_options_bootstrapper(args=args)
address = Address(self.package, target_name="target")
if origin is None:
origin = SingleAddress(directory=address.spec_path, name=address.target_name)
tgt = PythonTests({}, address=address)
params = Params(
PythonTestFieldSet.create(TargetWithOrigin(tgt, origin)), options_bootstrapper
)
After Change
if execution_slot_var:
args.append(f"--pytest-execution-slot-var={execution_slot_var}")
params = Params(
PythonTestFieldSet.create(
PythonTests({}, address=Address(self.package, target_name="target"))
),
create_options_bootstrapper(args=args),
)
test_result = self.request_single_product(TestResult, params)
debug_request = self.request_single_product(TestDebugRequest, params)
debug_result = InteractiveRunner(self.scheduler).run(debug_request.process)
if test_result.status == Status.SUCCESS:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 1a00c522e29c3f1040ad6bfe615b57d17af0658e
Time: 2020-08-04
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/pytest_runner_integration_test.py
Class Name: PytestRunnerIntegrationTest
Method Name: run_pytest
Project Name: pantsbuild/pants
Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
Time: 2020-04-15
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/lint/isort/rules_integration_test.py
Class Name: IsortIntegrationTest
Method Name: run_isort
Project Name: pantsbuild/pants
Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
Time: 2020-04-15
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/lint/docformatter/rules_integration_test.py
Class Name: DocformatterIntegrationTest
Method Name: run_docformatter