summaryrefslogtreecommitdiff
path: root/src/mailman/testing/helpers.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-11-29 15:10:59 -0500
committerBarry Warsaw2014-11-29 15:10:59 -0500
commite3357a5c0b4a708d793052efcc5c7d2a5dd3c1ba (patch)
treeaadf3f80f4559b82995eee9e851627fc0a70ab7f /src/mailman/testing/helpers.py
parent59110812266f4b1b3c73a6fb29fbb99da2dc31c3 (diff)
parent43b8f3f8faeccec1726466455f0affa9e98880d5 (diff)
downloadmailman-e3357a5c0b4a708d793052efcc5c7d2a5dd3c1ba.tar.gz
mailman-e3357a5c0b4a708d793052efcc5c7d2a5dd3c1ba.tar.zst
mailman-e3357a5c0b4a708d793052efcc5c7d2a5dd3c1ba.zip
Diffstat (limited to 'src/mailman/testing/helpers.py')
-rw-r--r--src/mailman/testing/helpers.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mailman/testing/helpers.py b/src/mailman/testing/helpers.py
index aab23ab75..b0fe14a0d 100644
--- a/src/mailman/testing/helpers.py
+++ b/src/mailman/testing/helpers.py
@@ -524,3 +524,8 @@ class LogFileMark:
with open(self._filename) as fp:
fp.seek(self._filepos)
return fp.readline()
+
+ def read(self):
+ with open(self._filename) as fp:
+ fp.seek(self._filepos)
+ return fp.read()