diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-03 18:42:23 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-03 18:42:23 +0000 |
| commit | cae83dd7ea9b847961b4df3227bc829b62510640 (patch) | |
| tree | ef66c30294e571f473dfab4affbddcad733084a5 /lib/sqlalchemy/test | |
| parent | 5d711348da09d50b3b73013663eb42dfda3bc49a (diff) | |
| download | sqlalchemy-cae83dd7ea9b847961b4df3227bc829b62510640.tar.gz | |
- added a refresh logger step to the nose plugin so that SQLA class loggers get correct state from nose cmdline
- fix mapper logging [ticket:1620]
Diffstat (limited to 'lib/sqlalchemy/test')
| -rw-r--r-- | lib/sqlalchemy/test/noseplugin.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sqlalchemy/test/noseplugin.py b/lib/sqlalchemy/test/noseplugin.py index c4f32a163..329127c98 100644 --- a/lib/sqlalchemy/test/noseplugin.py +++ b/lib/sqlalchemy/test/noseplugin.py @@ -14,7 +14,7 @@ from config import db, db_label, db_url, file_config, base_config, \ _set_table_options, _reverse_topological, _log from sqlalchemy.test import testing, config, requires from nose.plugins import Plugin -from sqlalchemy import util +from sqlalchemy import util, log as sqla_log import nose.case log = logging.getLogger('nose.plugins.sqlalchemy') @@ -83,7 +83,9 @@ class NoseSQLAlchemy(Plugin): # Lazy setup of other options (post coverage) for fn in post_configure: fn(self.options, file_config) - + + sqla_log._refresh_class_loggers() + def describeTest(self, test): return "" |
