Coverage for tests\test_constraints.py: 100.00%
4 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-11-17 13:31 +0100
« prev ^ index » next coverage.py v7.3.2, created at 2023-11-17 13:31 +0100
1# -*- coding: utf-8 -*-
3"""
4* Name: interactive-clustering/tests/test_constraints.py
5* Description: Unittests for the `constraints` module.
6* Author: Erwan SCHILD
7* Created: 17/03/2021
8* Licence: CeCILL (https://cecill.info/licences.fr.html)
9"""
11# ==============================================================================
12# IMPORT PYTHON DEPENDENCIES
13# ==============================================================================
15# None
18# ==============================================================================
19# test_constraints_is_importable
20# ==============================================================================
21def test_constraints_is_importable():
22 """
23 Test that the `constraints` module is importable.
24 """
25 from cognitivefactory.interactive_clustering import constraints # noqa: C0415 (not top level import, it's fine)
27 assert constraints