Beispiel #1
0
 def test_level_2_password(self):
     ts_metadata_file = self.ts_seg1_path + '/ts_channel-000000.tmet'
     result = pymef3_file.check_mef_password(ts_metadata_file, self.pwd_2)
     self.assertEqual(2, result)
Beispiel #2
0
 def test_wrong_password(self):
     ts_metadata_file = self.ts_seg1_path + '/ts_channel-000000.tmet'
     result = pymef3_file.check_mef_password(ts_metadata_file, 'bu')
     self.assertEqual(-1, result)