]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- replace most explicitly-named test objects called "Mock..." with
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Jun 2013 22:35:12 +0000 (18:35 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Jun 2013 22:35:12 +0000 (18:35 -0400)
commitb38a76cd1d47cd6b8f1abef30ad7c3aeaa27d537
tree7af1dba9e242c77a248cb2194434aa9bf3ca49b7
parent715d6cf3d10a71acd7726b7e00c3ff40b4559bc7
- replace most explicitly-named test objects called "Mock..." with
actual mock objects from the mock library.  I'd like to use mock
for new tests so we might as well use it in obvious places.
- use unittest.mock in py3.3
- changelog
- add a note to README.unittests
- add tests_require in setup.py
- have tests import from sqlalchemy.testing.mock
- apply usage of mock to one of the event tests.  we can be using
this approach all over the place.
17 files changed:
README.unittests.rst
doc/build/changelog/changelog_08.rst
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/testing/__init__.py
lib/sqlalchemy/testing/mock.py [new file with mode: 0644]
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/compat.py
setup.py
test/aaa_profiling/test_resultset.py
test/base/test_events.py
test/dialect/postgresql/test_dialect.py
test/dialect/test_mxodbc.py
test/engine/test_ddlemit.py
test/engine/test_execute.py
test/engine/test_parseconnect.py
test/engine/test_pool.py
test/engine/test_reconnect.py