49e6bb805fa59807d171fc576bbf9780c92d6f74,tests/python/pants_test/rules/test_test.py,TestTest,test_single_non_test_target,#TestTest#,174
Before Change
coordinator_of_tests,
HydratedTarget(bfaddr.to_address(), target_adaptor, ()),
UnionMembership(union_rules={TestTarget: [PythonTestsAdaptor]}),
AddressProvenanceMap(bfaddr_to_spec={
bfaddr: SingleAddress(directory="some/dir", name="bin")
}),
{
(TestResult, TestTarget):
lambda _: TestResult(status=Status.SUCCESS, stdout="foo", stderr=""),
After Change
with self.assertRaisesRegex(AssertionError, r"Rule requested: .* which cannot be satisfied."):
run_rule(
coordinator_of_tests,
rule_args=[
HydratedTarget(bfaddr.to_address(), target_adaptor, ()),
UnionMembership(union_rules={TestTarget: [PythonTestsAdaptor]}),
AddressProvenanceMap(bfaddr_to_spec={
bfaddr: SingleAddress(directory="some/dir", name="bin"),
}),
],
mock_gets=[
MockGet(
product_type=TestResult,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: test_single_non_test_target
Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: test_coordinator_python_test
Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: test_globbed_non_test_target
Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: test_globbed_test_target