List of notable changes between pytest-catchlog releases.
Released on 2016-01-24 UTC.
- [Bugfix] #30 #31 - Fix
unicode
vsstr
compatibility issues between Python2 and Python3. (Thanks goes to @sirex for reporting the issue and providing a fix!)
Released on 2015-12-07.
- [Bugfix] #18 - Allow
caplog.records()
to be modified. Thanks to Eldar Abusalimov for the PR and Marco Nenciarini for reporting the issue. - [Bugfix] #15 #17 - Restore Python 2.6 compatibility. (Thanks to Marco Nenciarini!)
Attention!
Deprecation warning: the following objects (i.e. functions, properties) are slated for removal in the next major release.
caplog.at_level
andcaplog.set_level
should be used instead ofcaplog.atLevel
andcaplog.setLevel
.The methods
caplog.atLevel
andcaplog.setLevel
are still available but deprecated and not supported since they don't follow the PEP8 convention for method names.caplog.text
,caplog.records
andcaplog.record_tuples
were turned into properties. They still can be used as regular methods for backward compatibility, but that syntax is considered deprecated and scheduled for removal in the next major release.
Released on 2015-11-08.
- [Feature] #6 - Configure logging message and date format through ini file.
- [Feature] #7 - Also catch logs from setup and teardown stages.
- [Feature] #7 - Replace deprecated
__multicall__
use to support future Py.test releases. - [Feature] #11 - reintroduce
setLevel
andatLevel
to retain backward compatibility with pytest-capturelog. Also the memberstext
,records
andrecord_tuples
of thecaplog
fixture can be used as properties now.
Special thanks for this release goes to Eldar Abusalimov. He provided all of the changed features.
Released on 2015-06-07.
- #2 - Explicitly state Python3 support and add configuration for running tests with tox on multiple Python versions. (Thanks to Jeremy Bowman!)
- Add an option to silence logs completely on the terminal.
Released on 2014-12-08.
- Add
record_tuples
for comparing recorded log entries against expected log entries with their logger name, severity and formatted message.