Commit 3ce2f2ad authored by Łukasz Nowak's avatar Łukasz Nowak

Convert comments to docstrings.

parent 0aa309dd
......@@ -51,7 +51,7 @@ class TestBasicSlapgridCP(BasicMixin, unittest.TestCase):
class MasterMixin(BasicMixin):
def _patchHttplib(self):
# XXX-Antoine: save and override the httplib
"""Overrides httplib"""
import mock.httplib
self.saved_httplib = dict()
......@@ -61,7 +61,7 @@ class MasterMixin(BasicMixin):
setattr(httplib, fake, getattr(mock.httplib, fake))
def _unpatchHttplib(self):
# XXX-Antoine: restore the httplib like it was
"""Restores httplib overriding"""
import httplib
for name, original_value in self.saved_httplib.items():
setattr(httplib, name, original_value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment