From: Mike Bayer Date: Thu, 27 Sep 2012 06:47:43 +0000 (-0400) Subject: tweaks X-Git-Tag: rel_0_8_0b1~121 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=966a21c57244b07421a145770ff9cdd6df0dfc1d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git tweaks --- diff --git a/lib/sqlalchemy/testing/plugin/noseplugin.py b/lib/sqlalchemy/testing/plugin/noseplugin.py index c9e12c3051..8411748345 100644 --- a/lib/sqlalchemy/testing/plugin/noseplugin.py +++ b/lib/sqlalchemy/testing/plugin/noseplugin.py @@ -1,11 +1,11 @@ """Enhance nose with extra options and behaviors for running SQLAlchemy tests. -This module is imported relative to the "plugins" package as a top level -package by the sqla_nose.py runner, so that the plugin can be loaded with -the rest of nose including the coverage plugin before any of SQLAlchemy itself -is imported, so that coverage works. +When running ./sqla_nose.py, this module is imported relative to the +"plugins" package as a top level package by the sqla_nose.py runner, +so that the plugin can be loaded with the rest of nose including the coverage +plugin before any of SQLAlchemy itself is imported, so that coverage works. -When third party libraries use this library, it can be imported +When third party libraries use this plugin, it can be imported normally as "from sqlalchemy.testing.plugin import noseplugin". """ diff --git a/lib/sqlalchemy/testing/suite/requirements.py b/lib/sqlalchemy/testing/suite/requirements.py index 5eda39b2b9..3ea72adcd1 100644 --- a/lib/sqlalchemy/testing/suite/requirements.py +++ b/lib/sqlalchemy/testing/suite/requirements.py @@ -1,3 +1,9 @@ +"""Requirement definitions used by the generic dialect suite. + +External dialect test suites should subclass SuiteRequirements +to provide specific inclusion/exlusions. + +""" from ..requirements import Requirements from .. import exclusions diff --git a/test/profiles.txt b/test/profiles.txt index 5decc3aaa6..f7cbbf5227 100644 --- a/test/profiles.txt +++ b/test/profiles.txt @@ -1,4 +1,4 @@ -# /Users/classic/dev/sqlalchemy/./test/lib/profiles.txt +# /Users/classic/dev/sqlalchemy/./test/profiles.txt # This file is written out on a per-environment basis. # For each test in aaa_profiling, the corresponding function and # environment is located within this file. If it doesn't exist, diff --git a/test/requirements.py b/test/requirements.py index 0426049351..59350c8e73 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -1,7 +1,5 @@ -"""Global database feature support policy. +"""Requirements specific to SQLAlchemy's own unit tests. -Provides decorators to mark tests requiring specific feature support from the -target database. """