##// END OF EJS Templates
Merge pull request #1919 from tkf/better_find_edit_target2...
Merge pull request #1919 from tkf/better_find_edit_target2 Use oinspect in CodeMagics._find_edit_target inspect.getabsfile and inspect.getsourcelines are replaced by find_file and find_source_lines in IPython.core.oinspect, which is our own more robust code that wraps the default one from the stdlib.

File last commit:

r7010:3bdd7355
r7466:dc7323f1 merge
Show More
post_pr_test.py
13 lines | 389 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Post the results of a pull request test to Github.
"""
from test_pr import load_results, post_logs, post_results_comment, print_results
num, results, pr = load_results()
results_urls = post_logs(results)
print_results(pr, results_urls)
post_results_comment(pr, results_urls, num)
print()
print("Posted test results to pull request")
print(" " + pr['html_url'])