This commit is contained in:
2026-11-06 20:40:12 +03:00
parent 65003b6119
commit 7329d94740
31 changed files with 1662 additions and 4 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env python3
import os
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT / "student-tests"))
os.environ["RUN_EXPIRY"] = "1"
from run import test_expiry # noqa: E402
sys.path.insert(0, str(ROOT / "tests"))
from client import Client, run # noqa: E402
def main():
c = Client(os.environ.get("BASE_URL", "http://localhost:8080"))
test_expiry(c)
print("PASS: session expiry")
if __name__ == "__main__":
run(main)