Exemple #1
0
 def testThreadIsFuzzed(self):
     data = ["Jul 18 11:43:25 localhost xentpm[8593]: The TPM is not pwned"]
     fuzz = TxtLogObfuscator(data)
     self.assertEqual([
         """Jul 18 11:43:25 localhost xentpm[XXXX]: The """
         """TPM is not pwned"""
     ], fuzz.fuzzThreadMarker())
Exemple #2
0
 def testThreadIsFuzzed(self):
     data = ["Jul 18 11:43:25 localhost xentpm[8593]: The TPM is not pwned"]
     fuzz = TxtLogObfuscator(data)
     self.assertEqual(["""Jul 18 11:43:25 localhost xentpm[XXXX]: The """
                       """TPM is not pwned"""], fuzz.fuzzThreadMarker())