MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / valid_bearer_token

Function valid_bearer_token

app/api/tests/public/test_public_api.py:172–175  ·  view source on GitHub ↗

Generate a valid JWT bearer token for testing.

(test_project_with_api_key)

Source from the content-addressed store, hash-verified

170
171@pytest.fixture
172def valid_bearer_token(test_project_with_api_key):
173 """Generate a valid JWT bearer token for testing."""
174 project = test_project_with_api_key
175 return generate_jwt(project)
176
177
178class TestAuthenticationEndpoint:

Callers

nothing calls this directly

Calls 1

generate_jwtFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…