comparison tests/test_externals.py @ 833:312b37bc5e20

tests: avoid shadowing Python builtin all()
author Yonggang Luo <luoyonggang@gmail.com>
date Wed, 12 Oct 2011 15:43:31 +0800
parents e9af7eba88db
children 04729f3a3d17
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
406 self.commitchanges(changes) 406 self.commitchanges(changes)
407 self.pushrevisions(stupid) 407 self.pushrevisions(stupid)
408 self.assertchanges(changes, self.repo['tip']) 408 self.assertchanges(changes, self.repo['tip'])
409 409
410 def suite(): 410 def suite():
411 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchExternals), 411 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestFetchExternals),
412 unittest.TestLoader().loadTestsFromTestCase(TestPushExternals), 412 unittest.TestLoader().loadTestsFromTestCase(TestPushExternals),
413 ] 413 ]
414 return unittest.TestSuite(all) 414 return unittest.TestSuite(all_tests)