Skip to content

Commit

Permalink
test: fix try-me tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioHeredia committed Oct 28, 2024
1 parent beec1cb commit 61416e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ai4papi/routers/v1/try_me/nomad.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""

from copy import deepcopy
from typing import Tuple, Union
import types
import uuid

Expand All @@ -29,7 +28,8 @@
VO = "vo.ai4eosc.eu"
NAMESPACE = papiconf.MAIN_CONF['nomad']['namespaces'][VO]

@router.get("/")

@router.get("")
def get_deployments(
full_info: bool = Query(default=False),
authorization=Depends(security),
Expand Down
1 change: 1 addition & 0 deletions tests/try_me/test_nomad.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# Create deployment
rcreate = nomad.create_deployment(
module_name="ai4os-demo-app",
title="PAPI tests",
authorization=SimpleNamespace(
credentials=token
),
Expand Down

0 comments on commit 61416e8

Please sign in to comment.