diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-24 11:33:53 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-24 11:33:53 -0400 |
| commit | 2f150bee28525d49e7f36d2e0c7fbeda2352bc3a (patch) | |
| tree | 677058b86afae6dd11308d21e71d170e0b0673b4 /test/aaa_profiling | |
| parent | 87d7076b49ec52d6f890d1dc56f61ea2eb83f3a6 (diff) | |
| download | sqlalchemy-2f150bee28525d49e7f36d2e0c7fbeda2352bc3a.tar.gz | |
- rename __multiple__ to __backend__, and apply __backend__ to a large number of tests.
- move out logging tests from test_execute to test_logging
Diffstat (limited to 'test/aaa_profiling')
| -rw-r--r-- | test/aaa_profiling/test_compiler.py | 1 | ||||
| -rw-r--r-- | test/aaa_profiling/test_memusage.py | 1 | ||||
| -rw-r--r-- | test/aaa_profiling/test_orm.py | 6 | ||||
| -rw-r--r-- | test/aaa_profiling/test_resultset.py | 3 |
4 files changed, 11 insertions, 0 deletions
diff --git a/test/aaa_profiling/test_compiler.py b/test/aaa_profiling/test_compiler.py index 8304296da..659f79664 100644 --- a/test/aaa_profiling/test_compiler.py +++ b/test/aaa_profiling/test_compiler.py @@ -4,6 +4,7 @@ from sqlalchemy.engine import default class CompileTest(fixtures.TestBase, AssertsExecutionResults): __requires__ = 'cpython', + __backend__ = True @classmethod def setup_class(cls): diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py index 3766abb88..f9c853b89 100644 --- a/test/aaa_profiling/test_memusage.py +++ b/test/aaa_profiling/test_memusage.py @@ -84,6 +84,7 @@ class EnsureZeroed(fixtures.ORMTest): class MemUsageTest(EnsureZeroed): __requires__ = 'cpython', + __backend__ = True # ensure a pure growing test trips the assertion @testing.fails_if(lambda: True) diff --git a/test/aaa_profiling/test_orm.py b/test/aaa_profiling/test_orm.py index 2c1e84afb..ff55b1c26 100644 --- a/test/aaa_profiling/test_orm.py +++ b/test/aaa_profiling/test_orm.py @@ -10,6 +10,7 @@ from sqlalchemy.testing.schema import Table, Column import sys class MergeTest(fixtures.MappedTest): + __backend__ = True @classmethod def define_tables(cls, metadata): @@ -104,6 +105,7 @@ class LoadManyToOneFromIdentityTest(fixtures.MappedTest): to load 1000 related objects from the identity map. """ + __backend__ = True @classmethod @@ -258,6 +260,8 @@ class MergeBackrefsTest(fixtures.MappedTest): s.merge(a) class DeferOptionsTest(fixtures.MappedTest): + __backend__ = True + @classmethod def define_tables(cls, metadata): Table('a', metadata, @@ -312,6 +316,8 @@ class DeferOptionsTest(fixtures.MappedTest): class AttributeOverheadTest(fixtures.MappedTest): + __backend__ = True + @classmethod def define_tables(cls, metadata): Table('parent', metadata, Column('id', Integer, diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index d2f8c2256..a8b9f9d6f 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -11,6 +11,7 @@ NUM_RECORDS = 1000 class ResultSetTest(fixtures.TestBase, AssertsExecutionResults): + __backend__ = True @classmethod def setup_class(cls): @@ -55,6 +56,7 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults): class ExecutionTest(fixtures.TestBase): + __backend__ = True def test_minimal_connection_execute(self): # create an engine without any instrumentation. @@ -82,6 +84,7 @@ class ExecutionTest(fixtures.TestBase): class RowProxyTest(fixtures.TestBase): __requires__ = 'cpython', + __backend__ = True def _rowproxy_fixture(self, keys, processors, row): class MockMeta(object): |
