[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Correcting whitespace



commit 22965e5c209ecc7b924093757e7e75767ea82379
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sun Apr 15 18:36:35 2012 -0700

    Correcting whitespace
    
    Fixing the mistakes caught by my neat new whitespace checker.
---
 test/integ/util/conf.py                   |    2 +-
 test/mocking.py                           |    2 +-
 test/unit/descriptor/reader.py            |    4 ++--
 test/unit/descriptor/server_descriptor.py |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/integ/util/conf.py b/test/integ/util/conf.py
index 12d31b8..13d0579 100644
--- a/test/integ/util/conf.py
+++ b/test/integ/util/conf.py
@@ -105,7 +105,7 @@ class TestConf(unittest.TestCase):
     test_config_path = _make_config(MULTILINE_CONF)
     test_config = stem.util.conf.get_config("integ_testing")
     test_config.load(test_config_path)
-        
+    
     for entry in ("simple", "leading_whitespace", "squashed_top", "squashed_bottom"):
       self.assertEquals("la de da\nand a ho hum", test_config.get("multiline.entry.%s" % entry))
     
diff --git a/test/mocking.py b/test/mocking.py
index 62e04c9..aa61c76 100644
--- a/test/mocking.py
+++ b/test/mocking.py
@@ -220,7 +220,7 @@ def get_protocolinfo_response(**attributes):
   left with the default.
   
   Arguments:
-    attributes (dict) - attributes to customize the the 
+    attributes (dict) - attributes to customize the response with
   
   Returns:
     stem.connection.ProtocolInfoResponse instance
diff --git a/test/unit/descriptor/reader.py b/test/unit/descriptor/reader.py
index cf11c23..2d7df10 100644
--- a/test/unit/descriptor/reader.py
+++ b/test/unit/descriptor/reader.py
@@ -71,7 +71,7 @@ class TestDescriptorReader(unittest.TestCase):
     mocking.support_with(test_content)
     mocking.mock(open, mocking.return_value(test_content))
     self.assertRaises(TypeError, stem.descriptor.reader.load_processed_files, "")
-
+  
   def test_load_processed_files_malformed_file(self):
     """
     Tests the load_processed_files() function content that is malformed because
@@ -82,7 +82,7 @@ class TestDescriptorReader(unittest.TestCase):
     mocking.support_with(test_content)
     mocking.mock(open, mocking.return_value(test_content))
     self.assertRaises(TypeError, stem.descriptor.reader.load_processed_files, "")
-
+  
   def test_load_processed_files_malformed_timestamp(self):
     """
     Tests the load_processed_files() function content that is malformed because
diff --git a/test/unit/descriptor/server_descriptor.py b/test/unit/descriptor/server_descriptor.py
index 90d448e..fceb773 100644
--- a/test/unit/descriptor/server_descriptor.py
+++ b/test/unit/descriptor/server_descriptor.py
@@ -331,7 +331,7 @@ class TestServerDescriptor(unittest.TestCase):
   
   def test_bridge_unsanitized(self):
     """
-    Targeted check that individual unsanitized attributes will be detected. 
+    Targeted check that individual unsanitized attributes will be detected.
     """
     
     unsanitized_attr = [

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits