Belle II Software development
test_basf2_utils.py
1#!/usr/bin/env python3
2
3
10import unittest
11import unittest.mock
12import basf2.utils as ut
13import os
14
15
16class TestBasf2Utils(unittest.TestCase):
17 """Test the class to bsaf2.utils module"""
18
20 """Check that pretty_print_module finishes without an error"""
21 os.environ.update({'PAGER': "cat"})
22 ut.pretty_print_module(ut, "Test")
23 os.environ.pop("PAGER")
24
25
26if __name__ == "__main__":
27 # test everything
28 unittest.main()