Commit 7ca7ea78 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 442fb3c7
...@@ -11,8 +11,10 @@ Modified-History: ...@@ -11,8 +11,10 @@ Modified-History:
""" """
import os import os
import unittest import unittest
from csst_common.data_manager import CsstMsDataManager from csst_common.data_manager import CsstMsDataManager
from csst_common.params import CSST_PARAMS as CP from csst_common.params import CSST_PARAMS as CP
dir_unittest = "/nfsdata/users/csstpipeline/L1Pipeline/unittests/csst_common" dir_unittest = "/nfsdata/users/csstpipeline/L1Pipeline/unittests/csst_common"
...@@ -42,3 +44,6 @@ class TestCsstMsDataManager(unittest.TestCase): ...@@ -42,3 +44,6 @@ class TestCsstMsDataManager(unittest.TestCase):
self.assertTrue(os.path.exists(self.dm_sls.l0_crs(1))) self.assertTrue(os.path.exists(self.dm_sls.l0_crs(1)))
self.assertTrue(isinstance(self.dm_sls.l1_detector(1, post="flt.fits"), str)) self.assertTrue(isinstance(self.dm_sls.l1_detector(1, post="flt.fits"), str))
self.assertTrue(isinstance(self.dm_sls.l1_file(name="some_file.ext", comment="a demo file"), str)) self.assertTrue(isinstance(self.dm_sls.l1_file(name="some_file.ext", comment="a demo file"), str))
def test_dfs_is_available(self):
self.assertTrue(self.dm_mbi.dfs_is_available())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment