def test_misc_b02(self):
     (freq, trunc_flag, bad_cnt) = mod.get_field_freq(self.test1_fqfn, 
                                             self.dialect,
                                             field_number=0)
                                             
     assert(len(freq) == 200)
     assert(trunc_flag is False)
 def test_misc_b03(self):
     (freq, trunc_flag, bad_cnt) = mod.get_field_freq(self.test1_fqfn, 
                                             self.dialect,
                                             field_number=2)
                                             
     assert(len(freq) == 1)  # should be 1 x '' x 200 occurances
     assert(trunc_flag is False)
 def test_misc_b01_truncation(self):
     (freq, trunc_flag, bad_cnt) = mod.get_field_freq(self.test1_fqfn, 
                                             self.dialect,
                                             field_number=0,
                                             max_freq_size=4)
     assert(len(freq) == 4)
     assert(trunc_flag is True)