← Back to team overview

txaws-dev team mailing list archive

[Merge] lp:~jelmer/txaws/typos into lp:txaws

 

Jelmer Vernooij has proposed merging lp:~jelmer/txaws/typos into lp:txaws.

Requested reviews:
  txAWS Technical List (txaws-tech)

For more details, see:
https://code.launchpad.net/~jelmer/txaws/typos/+merge/90576

Fix some typos in docstrings.
-- 
https://code.launchpad.net/~jelmer/txaws/typos/+merge/90576
Your team txAWS Technical List is requested to review the proposed merge of lp:~jelmer/txaws/typos into lp:txaws.
=== modified file 'txaws/server/tests/test_registry.py'
--- txaws/server/tests/test_registry.py	2012-01-27 02:10:24 +0000
+++ txaws/server/tests/test_registry.py	2012-01-28 16:15:31 +0000
@@ -28,7 +28,7 @@
 
     def test_add(self):
         """
-        L{MehtodRegistry.add} registers a method class for the given action
+        L{MethodRegistry.add} registers a method class for the given action
         and version.
         """
         self.registry.add(TestMethod, "test", "1.0")
@@ -40,7 +40,7 @@
 
     def test_add_duplicate_method(self):
         """
-        L{MehtodRegistry.add} fails if a method class for the given action
+        L{MethodRegistry.add} fails if a method class for the given action
         and version was already registered.
         """
 
@@ -53,7 +53,7 @@
 
     def test_get(self):
         """
-        L{MehtodRegistry.get} returns the method class registered for the
+        L{MethodRegistry.get} returns the method class registered for the
         given action and version.
         """
 
@@ -69,7 +69,7 @@
 
     def test_check_with_missing_action(self):
         """
-        L{MehtodRegistry.get} fails if the given action is not registered.
+        L{MethodRegistry.get} fails if the given action is not registered.
         """
         error = self.assertRaises(APIError, self.registry.check, "boom", "1.0")
         self.assertEqual(400, error.status)
@@ -79,7 +79,7 @@
 
     def test_check_with_missing_version(self):
         """
-        L{MehtodRegistry.get} fails if the given action is not registered.
+        L{MethodRegistry.get} fails if the given action is not registered.
         """
         self.registry.add(TestMethod, "test", "1.0")
         error = self.assertRaises(APIError, self.registry.check, "test", "2.0")
@@ -89,7 +89,7 @@
 
     def test_scan(self):
         """
-        L{MehtodRegistry.scan} registers the L{Method}s decorated with L{api}.
+        L{MethodRegistry.scan} registers the L{Method}s decorated with L{api}.
         """
         self.registry.scan(amodule)
         self.assertIdentical(TestMethod, self.registry.get("TestMethod", None))