(name)
| 9 | |
| 10 | |
| 11 | def read_key_file(name): |
| 12 | file_path = os.path.join(ROOT, "keys", name) |
| 13 | with open(file_path) as f: |
| 14 | if name.endswith(".json"): |
| 15 | return json.load(f) |
| 16 | return f.read() |
| 17 | |
| 18 | |
| 19 | def mock_text_response(body, status_code=200): |
no outgoing calls