Fast post: Mock Logging Handler for python unit tests

6 Oct

Here I’m writing tests for django-data-importer when I found following mock to use in unit tests:

Refers to http://stackoverflow.com/questions/899067/how-should-i-verify-a-log-message-when-testing-python-code-under-nose/1049375#1049375

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

No comments yet

Leave a Reply