Source

south / south / tests / logger.py

Author Commit Message Labels Comments Date
Mike Fogel
logging test - avoid unrequested DEBUG output
Andrew Godwin
Fix file handles.
Andrew Godwin
Fix #397 (don't try to remove an NTFS-locked file after test)
Andrew Godwin
Fix logging tests on windows and from eggs
Andrew Godwin
Basic tests for the modelsinspector
Andrew Godwin
Loggingcode changes.
Brian Gershon
Added a default NullHandler. Tests now delete 'test.log' that was created during the test
Brian Gershon
Wrapped logger in getLogger(), which setups up both a StreamHandler and FileHandler which logs when SOUTH_DEBUG_ON is True. SOUTH_LOGGING_FILE also needs to be set.
Brian Gershon
Added inline logging and some basic tests for logging in execute()