Coverage for src/km3pipe/testing.py: 100%

19 statements  

« prev     ^ index     » next       coverage.py v7.5.1, created at 2024-05-08 03:14 +0000

1# Filename: testing.py 

2""" 

3Common unit testing support for km3pipe. 

4 

5""" 

6import sys 

7from functools import wraps 

8from unittest import TestCase # noqa 

9from mock import MagicMock # noqa 

10from mock import Mock # noqa 

11from mock import patch # noqa 

12 

13from numpy.testing import assert_allclose # noqa 

14import pytest # noqa 

15 

16from km3net_testdata import data_path 

17 

18skip = pytest.mark.skip 

19skipif = pytest.mark.skipif 

20 

21__author__ = "Tamas Gal" 

22__copyright__ = "Copyright 2016, Tamas Gal and the KM3NeT collaboration." 

23__credits__ = [] 

24__license__ = "MIT" 

25__maintainer__ = "Tamas Gal" 

26__email__ = "tgal@km3net.de" 

27__status__ = "Development"