Ejemplo n.º 1
0
 def post_logs(self):
     for result in self.results:
         if not result.passed:
             result.log_url = gh_api.post_gist(
                 result.log,
                 description='NetworkX test log',
                 filename="results.log",
                 auth=True)
Ejemplo n.º 2
0
def post_logs(results):
    results_urls = []
    for py, passed, log, missing_libraries in results:
        if passed:
            results_urls.append((py, passed, None, missing_libraries))
        else:
            result_locn = gh_api.post_gist(log, description='Theano test log',
                                            filename="results.log", auth=True)
            results_urls.append((py, False, result_locn, missing_libraries))

    return results_urls
Ejemplo n.º 3
0
def post_logs(results):
    results_urls = []
    for py, passed, log, missing_libraries in results:
        if passed:
            results_urls.append((py, passed, None, missing_libraries))
        else:
            result_locn = gh_api.post_gist(log, description='Theano test log',
                                            filename="results.log", auth=True)
            results_urls.append((py, False, result_locn, missing_libraries))

    return results_urls
Ejemplo n.º 4
0
 def post_logs(self):
     for result in self.results:
         if not result.passed:
             result.log_url = gh_api.post_gist(result.log,
                                             description='IPython test log',
                                             filename="results.log", auth=True)