3e802d4f61abf9fb1b88add829b76f1e309f9957,tests/examples/examples_report_plugin.py,ExamplesTestReport,pytest_sessionfinish,#ExamplesTestReport#Any#,168

Before Change


        diff_version = get_version_from_git(session.config.option.diff)
        html = template.render(version=__version__, diff=diff_version, entries=self.entries)

        if not os.path.exists(os.path.dirname(self.examplereport)):
            os.makedirs(os.path.dirname(self.examplereport))

        with open(self.examplereport, "w", encoding="utf-8") as f:
            f.write(html)

        if pytest.config.option.upload:

After Change


            if pytest.config.option.verbose:
                print()

            for (example, _, _) in self.entries:
                example.upload_imgs()

            upload_file_to_s3_by_job_id(session.config.option.report_path, "text/html", "EXAMPLES REPORT SUCCESSFULLY UPLOADED")
            upload_file_to_s3_by_job_id(session.config.option.log_file, "text/text", "EXAMPLES LOG SUCCESSFULLY UPLOADED")

    def pytest_terminal_summary(self, terminalreporter):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: bokeh/bokeh
Commit Name: 3e802d4f61abf9fb1b88add829b76f1e309f9957
Time: 2017-02-16
Author: mattpap@gmail.com
File Name: tests/examples/examples_report_plugin.py
Class Name: ExamplesTestReport
Method Name: pytest_sessionfinish


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: 7567cc646d258e40dde9790a28a9b264ccd494fb
Time: 2017-08-27
Author: harhro@gmail.com
File Name: mimic3models/split_train_val.py
Class Name:
Method Name:


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: 5d353701dd56a1fc8abc15e4082e33b7bed2a241
Time: 2017-08-09
Author: harhro@gmail.com
File Name: mimic3models/split_train_val.py
Class Name:
Method Name: