From 0f574dc019e8497fb9d20d0c14be642074cbfc7a Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Wed, 21 Oct 2020 14:47:56 -0400 Subject: [PATCH] docstring for the helper --- src/allmydata/test/web/test_webish.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/allmydata/test/web/test_webish.py b/src/allmydata/test/web/test_webish.py index 45519fd33..1e659812f 100644 --- a/src/allmydata/test/web/test_webish.py +++ b/src/allmydata/test/web/test_webish.py @@ -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()