test_tools.py | 41 script = os.path.join(scriptsdir, 'pindent.py') 47 def pindent(self, source, *args): member in class:PindentTests 78 self.assertEqual(self.pindent(clean, '-c'), closed) 79 self.assertEqual(self.pindent(closed, '-d'), clean) 100 self.assertEqual(self.pindent(broken, '-r'), indented) 103 self.assertEqual(self.pindent(clean, '-c'), closed) 104 self.assertEqual(self.pindent(closed, '-d'), clean) 106 self.assertEqual(self.pindent(broken, '-r', '-e', '-s', '4'), closed) 292 self.assertEqual(self.pindent(clean, '-c'), closed) 293 self.assertEqual(self.pindent(closed, '-d'), clean [all...] |