small emulate changes
All checks were successful
checks-impure / test (pull_request) Successful in 25s
checks / test (pull_request) Successful in 3m6s

This commit is contained in:
Georg-Stahn
2024-01-10 15:35:47 +01:00
parent da3dcaae81
commit 9aa468b84e
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
import time
import uvicorn
from fastapi import FastAPI
from fastapi.responses import HTMLResponse
@@ -21,6 +23,7 @@ async def consume_service_from_other_entity() -> HTMLResponse:
</body>
</html>
"""
time.sleep(3)
return HTMLResponse(content=html_content, status_code=200)