(url, N=10)
| 622 | |
| 623 | |
| 624 | def test(url, N=10): |
| 625 | print("checking error hander (do this on a non-200)") |
| 626 | try: error_handler(url) |
| 627 | except IOError as e: |
| 628 | print("exiting - exception will prevent further tests") |
| 629 | sys.exit() |
| 630 | print() |
| 631 | print("performing continuity test (making sure stuff isn't corrupted)") |
| 632 | continuity(url) |
| 633 | print() |
| 634 | print("performing speed comparison") |
| 635 | comp(N, url) |
| 636 | print() |
| 637 | print("performing dropped-connection check") |
| 638 | test_timeout(url) |
| 639 | |
| 640 | if __name__ == '__main__': |
| 641 | import time |
no test coverage detected
searching dependent graphs…