Commits

Jurko Gospodnetić committed 1d22bc9

Minor stylistic changes.

* Trimmed trailing spaces.
* Removed unnecessary import statements.

  • Participants
  • Parent commits c7c3a6c

Comments (0)

Files changed (1)

File tests/external/rhq.py

 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the (LGPL) GNU Lesser General Public License as
-# published by the Free Software Foundation; either version 3 of the 
+# published by the Free Software Foundation; either version 3 of the
 # License, or (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
 
 import logging
 import traceback as tb
-import suds.metrics as metrics
 from tests import *
-from suds import null, WebFault
+from suds import WebFault
 from suds.client import Client
 
 
 
 def start(url):
     global errors
-    print '\n________________________________________________________________\n' 
+    print '\n________________________________________________________________\n'
     print 'Test @ ( %s ) %d' % (url, errors)
 
 
 def rhqTest():
-    
+
     global errors
-    
+
     url = 'http://localhost.localdomain:7080/rhq-rhq-enterprise-server-ejb3/WebservicesManagerBean?wsdl'
     start(url)
     client = Client(url)
         person.phone.append(phoneB)
         person.pet.append(dog)
         person.pet.append(cat)
-        print person       
+        print person
         #
         # addPerson()
         #
         errors += 1
         print e
         tb.print_exc()
-  
+
     try:
         print "echo('this is cool')"
         result = client.service.echo('this is cool')
         errors += 1
         print e
         tb.print_exc()
-        
+
     try:
         print 'hello()'
         result = client.service.hello()
         errors += 1
         print e
         tb.print_exc()
-    
+
     try:
         s = 'hello'
         for n in range(0, 3):
         errors += 1
         print e
         tb.print_exc()
-    
+
     try:
-        print 'testExceptions()' 
+        print 'testExceptions()'
         result = client.service.testExceptions()
         print '\nreply( %s )\n' % tostr(result)
         raise Exception('Fault expected and not raised')
         print e
         tb.print_exc()
 
-        
+
 if __name__ == '__main__':
     errors = 0
     rhqTest()