refactor: replace decpinfo with colibre in test client identifiers
Update test fixtures and client references to use colibre branding instead of the legacy decpinfo naming convention. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -252,7 +252,7 @@ def main() -> None:
|
||||
parser.add_argument(
|
||||
"--token",
|
||||
default=None,
|
||||
help="Token Bearer colibre (format decpinfo_xxx)",
|
||||
help="Token Bearer colibre (format colibre_xxx)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--runs",
|
||||
|
||||
@@ -32,7 +32,7 @@ def test_bearer_without_value_returns_401(temp_db):
|
||||
def test_invalid_token_returns_401(temp_db):
|
||||
app = _make_app()
|
||||
resp = app.test_client().get(
|
||||
"/protected", headers={"Authorization": "Bearer decpinfo_unknown"}
|
||||
"/protected", headers={"Authorization": "Bearer colibre_unknown"}
|
||||
)
|
||||
assert resp.status_code == 401
|
||||
assert resp.get_json()["message"] == "invalid_token"
|
||||
|
||||
Reference in New Issue
Block a user