File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed
services/dynamic-scheduler
src/simcore_service_dynamic_scheduler/api/frontend
routes_external_scheduler
routes_internal_scheduler
tests/unit/api_frontend/routes_internal_scheduler Expand file tree Collapse file tree 4 files changed +8
-10
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 11from nicegui import APIRouter
22
3+ from . import _index
4+
35router = APIRouter ()
46
5- # router.include_router(_index.router)
7+ router .include_router (_index .router )
68
79__all__ : tuple [str , ...] = ("router" ,)
Original file line number Diff line number Diff line change 11from nicegui import APIRouter , ui
22
3- from .._render_utils import base_page
4-
53router = APIRouter ()
64
75
86@router .page ("/" )
97async def index ():
10- with base_page ():
11- ui .label ("PLACEHOLDER for internal scheduler UI" )
8+ ui .label ("PLACEHOLDER for internal scheduler UI" )
Original file line number Diff line number Diff line change 33
44
55from fastapi import FastAPI
6- from helpers import assert_contains_text , take_screenshot_on_error
6+ from helpers import assert_contains_text
77from playwright .async_api import Page
88from simcore_service_dynamic_scheduler .api .frontend ._utils import get_settings
99
@@ -24,9 +24,8 @@ async def test_placeholder_index(
2424 server_host_port : str ,
2525 not_initialized_app : FastAPI ,
2626):
27- async with take_screenshot_on_error (async_page ):
28- await async_page .goto (
29- f"{ server_host_port } { get_settings ().DYNAMIC_SCHEDULER_UI_MOUNT_PATH } "
30- )
27+ await async_page .goto (
28+ f"{ server_host_port } { get_settings ().DYNAMIC_SCHEDULER_UI_MOUNT_PATH } "
29+ )
3130
3231 await assert_contains_text (async_page , "PLACEHOLDER for internal scheduler UI" )
You can’t perform that action at this time.
0 commit comments