27b837981e7e04cea66f5ffee974c271a350946d,tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve_integration.py,IvyResolveIntegrationTest,test_java_compile_with_ivy_report,#IvyResolveIntegrationTest#,23
Before Change
// Find the ivy report
found = False
pattern = re.compile("internal-[a-f0-9]+-default\.html$")
for f in os.listdir(ivy_report_dir):
if os.path.isfile(os.path.join(ivy_report_dir, f)):
if pattern.match(f):
found = True
break
self.assertTrue(found,
msg="Couldn"t find ivy report in {report_dir}"
.format(report_dir=ivy_report_dir))
After Change
self.assertIsNotNone(html_report_file,
msg="Couldn"t find ivy report in {report_dir} containing files {listdir}"
.format(report_dir=ivy_report_dir, listdir=listdir))
with open(os.path.join(ivy_report_dir, html_report_file)) as file:
self.assertIn("info.cukes", file.read())
def test_ivy_args(self):
pants_run = self.run_pants([
"resolve",
"--resolve-ivy-args=-blablabla",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pantsbuild/pants
Commit Name: 27b837981e7e04cea66f5ffee974c271a350946d
Time: 2016-03-17
Author: nhoward@twopensource.com
File Name: tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve_integration.py
Class Name: IvyResolveIntegrationTest
Method Name: test_java_compile_with_ivy_report
Project Name: reinforceio/tensorforce
Commit Name: cd50ec1c075fed30b19771879b818ba14ecfb816
Time: 2020-07-05
Author: alexkuhnle@t-online.de
File Name: test/test_saving.py
Class Name: TestSaving
Method Name: test_modules
Project Name: reinforceio/tensorforce
Commit Name: cd50ec1c075fed30b19771879b818ba14ecfb816
Time: 2020-07-05
Author: alexkuhnle@t-online.de
File Name: test/test_features.py
Class Name: TestFeatures
Method Name: test_pretrain