def test_no_translate_debug_logs(self):
     for hint in checks._all_hints:
         bad = "LOG.debug(%s('bad'))" % hint
         self.assertEqual(
             1, len(list(checks.no_translate_debug_logs(bad, 'f'))))
Exemple #2
0
 def test_no_translate_debug_logs(self):
     for hint in checks._all_hints:
         bad = "LOG.debug(%s('bad'))" % hint
         self.assertEqual(
             1, len(list(checks.no_translate_debug_logs(bad, 'f'))))