comparison test/db_test_base.py @ 5263:f015df5f8edf

Also comment out testfixture used to capture debug logging.
author John Rouillard <rouilj@ieee.org>
date Mon, 28 Aug 2017 22:23:32 -0400
parents b5400cae9c2a
children efb34cbdba7c
comparison
equal deleted inserted replaced
5262:b5400cae9c2a 5263:f015df5f8edf
985 def testQuietJournal(self): 985 def testQuietJournal(self):
986 ## This is an example of how to enable logging module 986 ## This is an example of how to enable logging module
987 ## and report the results. It uses testfixtures 987 ## and report the results. It uses testfixtures
988 ## that can be installed via pip. 988 ## that can be installed via pip.
989 ## Uncomment below 2 lines: 989 ## Uncomment below 2 lines:
990 import logging 990 #import logging
991 from testfixtures import LogCapture 991 #from testfixtures import LogCapture
992 ## then run every call to roundup functions with: 992 ## then run every call to roundup functions with:
993 #with LogCapture('roundup.hyperdb', level=logging.DEBUG) as l: 993 #with LogCapture('roundup.hyperdb', level=logging.DEBUG) as l:
994 # result=self.db.user.history('2') 994 # result=self.db.user.history('2')
995 #print l 995 #print l
996 ## change 'roundup.hyperdb' to the logging name you want to capture. 996 ## change 'roundup.hyperdb' to the logging name you want to capture.

Roundup Issue Tracker: http://roundup-tracker.org/