diff tests/test_push_command.py @ 834:27a2136e89cd

test_push_command: tests -> all_tests for consistency with other files
author Yonggang Luo <luoyonggang@gmail.com>
date Wed, 12 Oct 2011 15:50:47 +0800
parents e9af7eba88db
children 50a09999dce3
line wrap: on
line diff
--- a/tests/test_push_command.py
+++ b/tests/test_push_command.py
@@ -490,12 +490,12 @@ class PushTests(test_util.TestBase):
 
 def suite():
     test_classes = [PushTests, ]
-    tests = []
+    all_tests = []
     # This is the quickest hack I could come up with to load all the tests from
     # both classes. Would love a patch that simplifies this without adding
     # dependencies.
     for tc in test_classes:
         for attr in dir(tc):
             if attr.startswith('test_'):
-                tests.append(tc(attr))
-    return unittest.TestSuite(tests)
+                all_tests.append(tc(attr))
+    return unittest.TestSuite(all_tests)