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

1# -*- coding: utf-8 -*- 

2 

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""" 

10 

11# ============================================================================== 

12# IMPORT PYTHON DEPENDENCIES 

13# ============================================================================== 

14 

15# None 

16 

17 

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 ) 

28 

29 assert backgroundtasks