text: _author__ = 'jeff roy'
  
  from mi.core.log import get_logger
  log = get_logger()
  
  from mi.idk.config import Config
  
  import unittest
  import os
  from mi.dataset.driver.dosta_abcdjm.ctdbp_p.dcl.dosta_abcdjm_ctdbp_p_dcl_telemetered_driver import parse
  
  from mi.dataset.dataset_driver import ParticleDataHandler
  
  
  class DriverTest(unittest.TestCase):
  
      def setUp(self):
          pass
  
      def tearDown(self):
          pass
  
      def test_one(self):
  
          sourceFilePath = os.path.join('mi',
                                        'dataset', 'driver', 'ctdbp_p',
                                        'dcl', 'resource',
                                        'ctdbp01_20150804_061734.DAT')
  
          particle_data_hdlr_obj = ParticleDataHandler()
  
          particle_data_hdlr_obj = parse(Config().base_dir(), sourceFilePath, particle_data_hdlr_obj)
  
          log.debug("SAMPLES: %s", particle_data_hdlr_obj._samples)
          log.debug("FAILURE: %s", particle_data_hdlr_obj._failure)
  
          self.assertEquals(particle_data_hdlr_obj._failure, False)
  
  
  if __name__ == '__main__':
      test = DriverTest('test_one')
      test.test_one()