diff --git a/dsp_permissions_scripts/models/host.py b/dsp_permissions_scripts/models/host.py index 7a931251..60f54005 100644 --- a/dsp_permissions_scripts/models/host.py +++ b/dsp_permissions_scripts/models/host.py @@ -3,10 +3,7 @@ class Hosts: LOCALHOST = "http://0.0.0.0:3333" PROD = "https://api.dasch.swiss" - RDU_STAGE = "https://api.rdu-stage.dasch.swiss" DEV = "https://api.dev.dasch.swiss" - LS_PROD = "https://api.ls-prod.admin.ch" - STAGE = "https://api.stage.dasch.swiss" @staticmethod def get_host(identifier: str) -> str: diff --git a/dsp_permissions_scripts/utils/authentication.py b/dsp_permissions_scripts/utils/authentication.py index 0c93bae9..1b4fc261 100644 --- a/dsp_permissions_scripts/utils/authentication.py +++ b/dsp_permissions_scripts/utils/authentication.py @@ -15,9 +15,6 @@ def _get_login_credentials(host: str) -> tuple[str, str]: if host == Hosts.LOCALHOST: user = "root@example.com" pw = "test" - elif host == Hosts.RDU_STAGE: - user = os.getenv("RDU_STAGE_EMAIL") or "" - pw = os.getenv("RDU_STAGE_PASSWORD") or "" elif re.search(r"api.rdu-\d\d.dasch.swiss", host): user = os.getenv("RDU_TEST_EMAIL") or "" pw = os.getenv("RDU_TEST_PASSWORD") or ""