Got the release servers running.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
2025-06-16 12:32:20 -04:00
parent f6f8f0f205
commit 2066084c13
4 changed files with 55 additions and 1 deletions

View File

@@ -14,10 +14,12 @@ class TranslateTC(IsolatedAsyncioTestCase):
"""something"""
trans = Translate()
await trans.start()
url = f"http://{ADDR}:{trans.port}"
async with ClientSession() as session:
async with session.get(f"http://{ADDR}:{trans.port}/") as resp:
async with session.get(url) as resp:
text = await resp.text()
self.assertEqual(resp.status, 200, text)
self.assertEqual(trans.baseurl, url)
async def test_url_reponses(self):
"""created url reponse the mocks"""