()
| 100 | |
| 101 | |
| 102 | def main(): |
| 103 | # Send initial requests |
| 104 | start = time() |
| 105 | get_user_info() |
| 106 | print(f'Elapsed: {time() - start:.2f} seconds') |
| 107 | |
| 108 | # Repeat the same requests and verify that your rate limit usage is unchanged |
| 109 | start = time() |
| 110 | get_user_info() |
| 111 | print(f'Elapsed: {time() - start:.2f} seconds') |
| 112 | |
| 113 | test_non_github_requests() |
| 114 | check_cache() |
| 115 | |
| 116 | |
| 117 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…