Coverage for tests\test_backgroundtasks.py: 100.00%
4 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_backgroundtasks.py
5* Description: Unittests for the `backgroundtasks` module.
6* Author: Erwan Schild
7* Created: 13/12/2021
8* Licence: CeCILL (https://cecill.info/licences.fr.html)
9"""
11# ==============================================================================
12# IMPORT PYTHON DEPENDENCIES
13# ==============================================================================
15# None
18# ==============================================================================
19# test_backgroundtasks_is_importable
20# ==============================================================================
21def test_backgroundtasks_is_importable():
22 """
23 Test that the `backgroundtasks` module is importable.
24 """
25 from cognitivefactory.interactive_clustering_gui import ( # noqa: C0415 (not top level import, it's fine)
26 backgroundtasks,
27 )
29 assert backgroundtasks