79babbce939af01bf31432e094ee91200f119664,tests/python/pants_test/engine/legacy/test_bundle_integration.py,BundleIntegrationTest,test_bundle_rel_path,#BundleIntegrationTest#,47
Before Change
@ensure_engine
def test_bundle_rel_path(self):
with temporary_dir() as temp_distdir:
with self.pants_results(
["-q",
"--pants-distdir={}".format(temp_distdir),
"bundle",
"{}:rel_path".format(self.TARGET_PATH)]) as pants_run:
self.assert_success(pants_run)
self.assertTrue(os.path.isfile(
"{}/{}.rel_path-bundle/b/file1.txt".format(temp_distdir, self.TARGET_PATH.replace("/", "."))))
@ensure_engine
def test_bundle_resource_ordering(self):
Ensures that `resources=` ordering is respected.
pants_run = self.run_pants(
After Change
@ensure_engine
def test_bundle_rel_path(self):
with self.bundled("rel_path") as bundle_dir:
self.assertTrue(os.path.isfile(os.path.join(bundle_dir, "b/file1.txt")))
@ensure_engine
def test_bundle_directory(self):
with self.bundled("directory") as bundle_dir:
root = os.path.join(bundle_dir, "a/b")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances
Project Name: pantsbuild/pants
Commit Name: 79babbce939af01bf31432e094ee91200f119664
Time: 2017-05-26
Author: stuhood@twitter.com
File Name: tests/python/pants_test/engine/legacy/test_bundle_integration.py
Class Name: BundleIntegrationTest
Method Name: test_bundle_rel_path
Project Name: pantsbuild/pants
Commit Name: 79babbce939af01bf31432e094ee91200f119664
Time: 2017-05-26
Author: stuhood@twitter.com
File Name: tests/python/pants_test/engine/legacy/test_bundle_integration.py
Class Name: BundleIntegrationTest
Method Name: test_bundle_rel_path
Project Name: pantsbuild/pants
Commit Name: 79babbce939af01bf31432e094ee91200f119664
Time: 2017-05-26
Author: stuhood@twitter.com
File Name: tests/python/pants_test/engine/legacy/test_bundle_integration.py
Class Name: BundleIntegrationTest
Method Name: test_bundle_relative_to
Project Name: pantsbuild/pants
Commit Name: 79babbce939af01bf31432e094ee91200f119664
Time: 2017-05-26
Author: stuhood@twitter.com
File Name: tests/python/pants_test/engine/legacy/test_bundle_integration.py
Class Name: BundleIntegrationTest
Method Name: test_bundle_mapper