Coverage for tests/test_import.py: 67%

13 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2023-03-30 02:53 -0700

1import unittest 

2 

3import lsst.utils.tests 

4import lsst.display.ds9 

5 

6 

7class ImportTest(unittest.TestCase): 

8 def testImport(self): 

9 self.assertTrue(hasattr(lsst.display.ds9, "Ds9Error")) 

10 

11 

12class TestMemory(lsst.utils.tests.MemoryTestCase): 

13 pass 

14 

15 

16def setup_module(module): 

17 lsst.utils.tests.init() 

18 

19 

20if __name__ == "__main__": 20 ↛ 21line 20 didn't jump to line 21, because the condition on line 20 was never true

21 lsst.utils.tests.init() 

22 unittest.main()