mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 02:12:26 +00:00
fix: Fix unit tests script and failing tests
This commit is contained in:
parent
09abdb0a37
commit
034d51e775
4 changed files with 27 additions and 22 deletions
|
|
@ -49,7 +49,7 @@ def github_token_app():
|
|||
)
|
||||
|
||||
# Add auth middleware
|
||||
app.add_middleware(AuthenticationMiddleware, auth_config=auth_config)
|
||||
app.add_middleware(AuthenticationMiddleware, auth_config=auth_config, impls={})
|
||||
|
||||
@app.get("/test")
|
||||
def test_endpoint():
|
||||
|
|
@ -149,7 +149,7 @@ def test_github_enterprise_support(mock_client_class):
|
|||
access_policy=[],
|
||||
)
|
||||
|
||||
app.add_middleware(AuthenticationMiddleware, auth_config=auth_config)
|
||||
app.add_middleware(AuthenticationMiddleware, auth_config=auth_config, impls={})
|
||||
|
||||
@app.get("/test")
|
||||
def test_endpoint():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue