]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Cleaning pep8
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Fri, 26 Aug 2011 09:56:43 +0000 (10:56 +0100)
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Fri, 26 Aug 2011 09:56:43 +0000 (10:56 +0100)
quantum/plugins/cisco/common/cisco_faults.py
tests/unit/test_extensions.py

index 515d67598a3a6101ff8650f27d6c17b61030dfbd..ed50ed65acdd968b2637a9917924bd081c4e812b 100644 (file)
@@ -71,7 +71,7 @@ class PortprofileNotFound(webob.exc.HTTPClientError):
     """
     code = 450
     title = 'Portprofile Not Found'
-    explanation = ('Unable to find a Portprofile with' 
+    explanation = ('Unable to find a Portprofile with'
                    + ' the specified identifier.')
 
 
@@ -87,8 +87,8 @@ class PortNotFound(webob.exc.HTTPClientError):
     code = 430
     title = 'Port not Found'
     explanation = ('Unable to find a port with the specified identifier.')
-    
-    
+
+
 class CredentialNotFound(webob.exc.HTTPClientError):
     """
     subclass of :class:`~HTTPClientError`
@@ -100,10 +100,10 @@ class CredentialNotFound(webob.exc.HTTPClientError):
     """
     code = 451
     title = 'Credential Not Found'
-    explanation = ('Unable to find a Credential with' 
+    explanation = ('Unable to find a Credential with'
                    + ' the specified identifier.')
-  
-    
+
+
 class QosNotFound(webob.exc.HTTPClientError):
     """
     subclass of :class:`~HTTPClientError`
@@ -115,10 +115,10 @@ class QosNotFound(webob.exc.HTTPClientError):
     """
     code = 452
     title = 'QoS Not Found'
-    explanation = ('Unable to find a QoS with' 
+    explanation = ('Unable to find a QoS with'
                    + ' the specified identifier.')
-  
-    
+
+
 class NovatenantNotFound(webob.exc.HTTPClientError):
     """
     subclass of :class:`~HTTPClientError`
@@ -130,7 +130,7 @@ class NovatenantNotFound(webob.exc.HTTPClientError):
     """
     code = 453
     title = 'Nova tenant Not Found'
-    explanation = ('Unable to find a Novatenant with' 
+    explanation = ('Unable to find a Novatenant with'
                    + ' the specified identifier.')
 
 
index 1860c5666a38c9c08a539b6a52eaa2c465c6a381..a33897e47e837e554f51bce0f48d2725b4e91894 100644 (file)
@@ -72,10 +72,10 @@ class ResourceExtensionTest(unittest.TestCase):
         index_response = test_app.get("/tweedles")
         self.assertEqual(200, index_response.status_int)
         self.assertEqual("resource index", index_response.body)
-        
+
         show_response = test_app.get("/tweedles/25266")
         self.assertEqual({'data': {'id': "25266"}}, show_response.json)
-        
+
     def test_resource_extension_with_custom_member_action(self):
         controller = self.ResourceExtensionController()
         member = {'custom_member_action': "GET"}