CI/CD Pipeline / UI Contracts (source-structure gates) (push) Canceled after 0s
CI/CD Pipeline / E2E (live stack) (push) Canceled after 0s
CI/CD Pipeline / Backend Build & Test (push) Canceled after 0s
CI/CD Pipeline / Admin Web Build (push) Canceled after 0s
CI/CD Pipeline / Mini Program Compile Check (push) Canceled after 0s
CI/CD Pipeline / Migration Validation (push) Canceled after 0s
CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Canceled after 0s
17 lines
460 B
Python
17 lines
460 B
Python
from pathlib import Path
|
|
import unittest
|
|
|
|
|
|
ROOT = Path(__file__).parents[2]
|
|
|
|
|
|
class MatchmakerLoginContractTest(unittest.TestCase):
|
|
def test_login_uses_public_operator_auth_endpoint(self):
|
|
source = (ROOT / "miniapp/pages/matchmaker-login/matchmaker-login.js").read_text(encoding="utf-8")
|
|
self.assertIn("/auth/operator/login", source)
|
|
self.assertNotIn("/operator/auth/login", source)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|