comparison tests/test_svnwrap.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 c58213aaf7c8
comparison
equal deleted inserted replaced
832:e9af7eba88db 833:312b37bc5e20
69 self.repo = svnwrap.SubversionRepo(test_util.fileurl( 69 self.repo = svnwrap.SubversionRepo(test_util.fileurl(
70 self.repo_path + '/dummyproj' 70 self.repo_path + '/dummyproj'
71 )) 71 ))
72 72
73 def suite(): 73 def suite():
74 all = [unittest.TestLoader().loadTestsFromTestCase(TestBasicRepoLayout), 74 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestBasicRepoLayout),
75 unittest.TestLoader().loadTestsFromTestCase(TestRootAsSubdirOfRepo)] 75 unittest.TestLoader().loadTestsFromTestCase(TestRootAsSubdirOfRepo)]
76 return unittest.TestSuite(all) 76 return unittest.TestSuite(all_tests)