aa3126b05d7e4a2a8bfea0aedd76639baa8ccb93,src/python/pants/rules/core/test_test.py,TestTest,test_coordinator_single_non_test_target,#TestTest#,221

Before Change


    )

  def test_coordinator_single_non_test_target(self) -> None:
    bfaddr = BuildFileAddress(target_name="bin", rel_path="some/dir")
    // Note that this is not the same error message the end user will see, as we"re resolving
    // union Get requests in run_rule, not the real engine.  But this test still asserts that
    // we error when we expect to error.
    with self.assertRaisesRegex(AssertionError, r"Rule requested: .* which cannot be satisfied."):
      self.run_coordinator_of_tests(
        address=bfaddr,
        addr_to_origin={bfaddr.to_address(): SingleAddress(directory="some/dir", name="bin")},
        test_target_type=False,
      )

After Change


    )

  def test_coordinator_single_non_test_target(self) -> None:
    addr = Address.parse("some/dir:bin")
    // Note that this is not the same error message the end user will see, as we"re resolving
    // union Get requests in run_rule, not the real engine.  But this test still asserts that
    // we error when we expect to error.
    with self.assertRaisesRegex(AssertionError, r"Rule requested: .* which cannot be satisfied."):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: aa3126b05d7e4a2a8bfea0aedd76639baa8ccb93
Time: 2020-02-11
Author: ericarellano@me.com
File Name: src/python/pants/rules/core/test_test.py
Class Name: TestTest
Method Name: test_coordinator_single_non_test_target


Project Name: pantsbuild/pants
Commit Name: aa3126b05d7e4a2a8bfea0aedd76639baa8ccb93
Time: 2020-02-11
Author: ericarellano@me.com
File Name: src/python/pants/rules/core/test_test.py
Class Name: TestTest
Method Name: test_coordinator_globbed_test_target


Project Name: pantsbuild/pants
Commit Name: aa3126b05d7e4a2a8bfea0aedd76639baa8ccb93
Time: 2020-02-11
Author: ericarellano@me.com
File Name: src/python/pants/rules/core/test_test.py
Class Name: TestTest
Method Name: test_coordinator_globbed_non_test_target