Coverage for tests\test_get_ready.py: 100.00%
5 statements
« prev ^ index » next coverage.py v7.4.3, created at 2024-03-22 23:23 +0100
« prev ^ index » next coverage.py v7.4.3, created at 2024-03-22 23:23 +0100
1# -*- coding: utf-8 -*-
3"""
4* Name: interactive-clustering-gui/tests/test_get_ready.py
5* Description: Unittests for `app` module on the `GET /ready` route.
6* Author: Erwan Schild
7* Created: 22/02/2022
8* Licence: CeCILL (https://cecill.info/licences.fr.html)
9"""
11# ==============================================================================
12# IMPORT PYTHON DEPENDENCIES
13# ==============================================================================
15import pytest
17# ==============================================================================
18# test_ok
19# ==============================================================================
22@pytest.mark.asyncio()
23async def test_ok(async_client):
24 """
25 Test the `GET /ready` route.
27 Arguments:
28 async_client: Fixture providing an HTTP client, declared in `conftest.py`.
29 """
30 # Assert HTTP client is created.
31 assert async_client