def test_set(self):
    hts_verbose.set(hts_verbose.htsLogLevel.HTS_LOG_TRACE)
    level = hts_verbose.get()
    self.assertEqual(level, hts_verbose.htsLogLevel.HTS_LOG_TRACE)
    hts_verbose.set(hts_verbose.htsLogLevel.HTS_LOG_INFO)
    level = hts_verbose.get()
    self.assertEqual(level, hts_verbose.htsLogLevel.HTS_LOG_INFO)
    hts_verbose.set(hts_verbose.htsLogLevel['HTS_LOG_DEBUG'])
    level = hts_verbose.get()
    self.assertEqual(level, hts_verbose.htsLogLevel.HTS_LOG_DEBUG)
def test_set(self):
    hts_verbose.set(hts_verbose.htsLogLevel.HTS_LOG_TRACE)
    level = hts_verbose.get()
    self.assertEqual(level, hts_verbose.htsLogLevel.HTS_LOG_TRACE)
    hts_verbose.set(hts_verbose.htsLogLevel.HTS_LOG_INFO)
    level = hts_verbose.get()
    self.assertEqual(level, hts_verbose.htsLogLevel.HTS_LOG_INFO)
    hts_verbose.set(hts_verbose.htsLogLevel['HTS_LOG_DEBUG'])
    level = hts_verbose.get()
    self.assertEqual(level, hts_verbose.htsLogLevel.HTS_LOG_DEBUG)