# HG changeset patch # User Yonggang Luo # Date 1318405847 -28800 # Node ID 27a2136e89cd204310405641cf77f62b5374b374 # Parent 312b37bc5e2004aa8467efc903ea2bd680e2edfd test_push_command: tests -> all_tests for consistency with other files diff --git a/tests/test_push_command.py b/tests/test_push_command.py --- 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)