remove REVIEW.md from repo
This commit is contained in:
@@ -5,7 +5,6 @@ import sys
|
||||
import time
|
||||
import urllib.request
|
||||
|
||||
|
||||
PORT = os.environ.get("TELEGRAM_SCRAPER_SMOKE_PORT", "18080")
|
||||
BASE_URL = f"http://127.0.0.1:{PORT}"
|
||||
ENDPOINTS = [
|
||||
@@ -61,9 +60,7 @@ def main() -> int:
|
||||
if status != 200:
|
||||
raise RuntimeError(f"{endpoint} returned HTTP {status}")
|
||||
if (
|
||||
endpoint.endswith(".json")
|
||||
or endpoint.startswith("/api")
|
||||
or endpoint.startswith("/health")
|
||||
endpoint.endswith(".json") or endpoint.startswith(("/api", "/health"))
|
||||
):
|
||||
json.loads(body.decode("utf-8"))
|
||||
print(f"ok {endpoint}")
|
||||
|
||||
Reference in New Issue
Block a user