~pythoneers/ubuntu/lucid/python-amqplib/ltsppa

« back to all changes in this revision

Viewing changes to tests/client_0_8/run_all.py

  • Committer: Bazaar Package Importer
  • Author(s): Mikhail Gusarov
  • Date: 2009-09-04 03:52:04 UTC
  • mfrom: (0.1.2 sid) (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090904035204-9k9rbudrqemwvqoz
Tags: 0.6.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# License along with this library; if not, write to the Free Software
20
20
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
21
21
 
 
22
import sys
22
23
import unittest
23
24
 
24
25
import settings
25
26
 
26
 
def main():
27
 
    suite = unittest.TestLoader().loadTestsFromNames([
 
27
TEST_NAMES = [
28
28
        'test_exceptions',
29
29
        'test_serialization',
30
30
        'test_basic_message',
31
31
        'test_connection',
32
32
        'test_channel',
33
 
        ])
34
 
 
 
33
        ]
 
34
 
 
35
if sys.version_info >= (2, 5):
 
36
    TEST_NAMES.append('test_with')
 
37
 
 
38
def main():
 
39
    suite = unittest.TestLoader().loadTestsFromNames(TEST_NAMES)
35
40
    unittest.TextTestRunner(**settings.test_args).run(suite)
36
41
 
37
42
if __name__ == '__main__':