summary refs log tree commit diff
path: root/tests/util/test_logcontext.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Optimise LoggingContext creation and copyingRichard van der Hoff2018-01-161-8/+8
| | | | | | | | It turns out that the only thing we use the __dict__ of LoggingContext for is `request`, and given we create lots of LoggingContexts and then copy them every time we do a db transaction or log line, using the __dict__ seems a bit redundant. Let's try to optimise things by making the request attribute explicit.
* Fix name of test_logcontextRichard van der Hoff2017-10-171-0/+134
The file under test is logcontext.py, not log_context.py