mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 11:24:25 +00:00
docstring for the helper
This commit is contained in:
parent
d1599a924e
commit
0f574dc019
@ -100,6 +100,15 @@ class TahoeLAFSSiteTests(SyncTestCase):
|
||||
"""
|
||||
def _test_censoring(self, path, censored):
|
||||
"""
|
||||
Verify that the event logged for a request for ``path`` does not include
|
||||
``path`` but instead includes ``censored``.
|
||||
|
||||
:param bytes path: A request path.
|
||||
|
||||
:param bytes censored: A replacement value for the request path in the
|
||||
access log.
|
||||
|
||||
:return: ``None`` if the logging looks good.
|
||||
"""
|
||||
logPath = self.mktemp()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user