diff options
| author | Barry Warsaw | 2014-11-29 15:10:59 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-11-29 15:10:59 -0500 |
| commit | e3357a5c0b4a708d793052efcc5c7d2a5dd3c1ba (patch) | |
| tree | aadf3f80f4559b82995eee9e851627fc0a70ab7f /src/mailman/testing/helpers.py | |
| parent | 59110812266f4b1b3c73a6fb29fbb99da2dc31c3 (diff) | |
| parent | 43b8f3f8faeccec1726466455f0affa9e98880d5 (diff) | |
| download | mailman-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.py | 5 |
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() |
