示例#1
0
 def test_ts_id_none(self):
     tdoc_id = None
     is_ts = tdoc.is_ts(tdoc_id)
     self.assertFalse(is_ts)
示例#2
0
 def test_ts_id_10(self):
     tdoc_id = '23.345-f66.zip'
     is_ts = tdoc.is_ts(tdoc_id)
     self.assertFalse(is_ts)
示例#3
0
 def test_ts_id_8(self):
     tdoc_id = '23.456.zip'
     is_ts = tdoc.is_ts(tdoc_id)
     self.assertFalse(is_ts)
示例#4
0
 def test_ts_id_6(self):
     tdoc_id = '23.345'
     is_ts = tdoc.is_ts(tdoc_id)
     self.assertTrue(is_ts)
示例#5
0
 def test_ts_id_4(self):
     tdoc_id = '23.4'
     is_ts = tdoc.is_ts(tdoc_id)
     self.assertFalse(is_ts)
示例#6
0
 def test_ts_id_1(self):
     tdoc_id = 'S2'
     is_ts = tdoc.is_ts(tdoc_id)
     self.assertFalse(is_ts)
示例#7
0
 def test_ts_id_empty(self):
     tdoc_id = ''
     is_ts = tdoc.is_ts(tdoc_id)
     self.assertFalse(is_ts)