Got the release servers running.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user