History log of /sqlalchemy/README.unittests.rst (Results 1 - 25 of 67)
Revision Date Author Comments
# ed78e679 30-Oct.-2021 Federico Caselli <cfederico87@gmail.com>

Remove deprecated dialects and drivers

Fixes: #7258
Change-Id: I3577f665eca04f2632b69bcb090f0a4ec9271db9


# 7ae4a43d 11-Sep.-2021 Daniel Black <daniel@mariadb.org>

README.unittest container edits mainly mariadb/mysql (#7014)

Simplify it a bit:

* test_schema2 isn't needed in MySQL/MariaDB test.
* Only permissions on test_schema are needed.

README.unittest container edits mainly mariadb/mysql (#7014)

Simplify it a bit:

* test_schema2 isn't needed in MySQL/MariaDB test.
* Only permissions on test_schema are needed.
* User without qualification defaults to user@'%'.
* Use MARIADB_* names with MariaDB container that has
been there most of this year in releases.
* We don't need to specify a database on connection
when creating users/databases.
* On all containers - docker will always pull image
if not available. Also postgres image didn't match
container initialization.
* Remove container versions, just use latest

show more ...


# 96e8ca71 09-May-2021 Gord Thompson <gord@gordthompson.com>

Update SQLAlchemy README.unittests.rst

Change-Id: Ic7af61e68a0828401fb6774f9f301d83fad95367


# f1f1005e 09-Apr.-2021 Stephen Rosen <sirosen@globus.org>

Fix trivial typo in README.unittests


# e3871c07 20-Sep.-2020 Gord Thompson <gord@gordthompson.com>

Tweak docker config for mssql

Change-Id: Iae6fca41976f9cd7a3870f18eadfbea146d572dd


# 603f7d30 20-Aug.-2020 Georg Richter <georg@mariadb.com>

MariaDB dialect implementation

Fixes: #5459

Closes: #5515
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5515
Pull-request-sha: 760090b9067304cc65fece12fcf10b52

MariaDB dialect implementation

Fixes: #5459

Closes: #5515
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5515
Pull-request-sha: 760090b9067304cc65fece12fcf10b522afc4a2a

Change-Id: I30e8fbc02b7b5329ca228cd39f6fb7cfd0e43092

show more ...


# 405fc971 16-Apr.-2020 Gord Thompson <gord@gordthompson.com>

Rename py.test to pytest

Change-Id: I431e1ef41e26d490343204a75a5c097768749768


# 9ec75882 14-Mar.-2020 Federico Caselli <cfederico87@gmail.com>

Deprecate plain string in execute and introduce `exec_driver_sql`

Execution of literal sql string is deprecated in the
:meth:`.Connection.execute` and a warning is raised when used stati

Deprecate plain string in execute and introduce `exec_driver_sql`

Execution of literal sql string is deprecated in the
:meth:`.Connection.execute` and a warning is raised when used stating
that it will be coerced to :func:`.text` in a future release.
To execute a raw sql string the new connection method
:meth:`.Connection.exec_driver_sql` was added, that will retain the previous
behavior, passing the string to the DBAPI driver unchanged.
Usage of scalar or tuple positional parameters in :meth:`.Connection.execute`
is also deprecated.

Fixes: #4848
Fixes: #5178
Change-Id: I2830181054327996d594f7f0d59c157d477c3aa9

show more ...


# 62b7dace 14-Mar.-2020 Federico Caselli <cfederico87@gmail.com>

Support inspection of computed column

Added support for reflection of "computed" columns, which are now returned
as part of the structure returned by :meth:`.Inspector.get_columns`.

Support inspection of computed column

Added support for reflection of "computed" columns, which are now returned
as part of the structure returned by :meth:`.Inspector.get_columns`.
When reflecting full :class:`.Table` objects, computed columns will
be represented using the :class:`.Computed` construct.

Also improve the documentation in :meth:`Inspector.get_columns`, correctly
listing all the returned keys.

Fixes: #5063
Fixes: #4051

Closes: #5064
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5064
Pull-request-sha: ba00fc321ce468f8885aad23b3dd33c789e50fbe

Change-Id: I789986554fc8ac7f084270474d0b2c12046b1cc2

show more ...


# 65bea954 03-Mar.-2020 Federico Caselli <cfederico87@gmail.com>

Add docker commands to README.unittests

Closes: #5116
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5116
Pull-request-sha: e70ad70426de03982c3abb78eb7b8292e86c3950

Add docker commands to README.unittests

Closes: #5116
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5116
Pull-request-sha: e70ad70426de03982c3abb78eb7b8292e86c3950

Change-Id: If9ef93312d8ce78908a76ea84cb95f3068ffb306

show more ...


# 92fd25f3 28-Dec.-2019 Federico Caselli <cfederico87@gmail.com>

Improve two phase transaction requirement detection for PG

Improved detection of two phase transactions requirement for the PostgreSQL
database by testing that max_prepared_transactions

Improve two phase transaction requirement detection for PG

Improved detection of two phase transactions requirement for the PostgreSQL
database by testing that max_prepared_transactions is set to a value
greater than 0. Pull request courtesy Federico Caselli.

Fixes: #5057
Closes: #5059
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5059
Pull-request-sha: c30c3b1a5216d281db84f9fa48466edaf7a26d1e

Change-Id: I4360f62eacdf1173172ee24cd05a68e9a448290c

show more ...


# 23b62c72 17-Nov.-2019 Gord Thompson <gord@gordthompson.com>

Fix charset= in README.unittests.rst for MySQL


# c312b3b2 22-Oct.-2019 Mike Bayer <mike_mp@zzzcomputing.com>

Remove python setup.py test; fix SQL Server URL

general README.unittest.rst edits

Fixes: #4789
Fixes: #4900
Change-Id: Ifddd3bfd1e6a4d24d3b0a3e1702e04e66a42a4dd


# c0f9708f 30-Dec.-2018 Lele Gaifax <lele@metapensiero.it>

commit 1b774808c926665047bf353222ecd191679a95d1
Author: Lele Gaifax <lele@metapensiero.it>
Date: Tue Dec 25 12:35:41 2018 +0100

Consistently use "PostgreSQL", fixing also a few

commit 1b774808c926665047bf353222ecd191679a95d1
Author: Lele Gaifax <lele@metapensiero.it>
Date: Tue Dec 25 12:35:41 2018 +0100

Consistently use "PostgreSQL", fixing also a few doc glitches

commit 0e382aaee4427193926f0dc10ad29056bc12c85e
Author: Lele Gaifax <lele@metapensiero.it>
Date: Tue Dec 25 12:08:49 2018 +0100

Remove duplicated words

Change-Id: Iaa586b9412f46a50fe6ff3bbb92e07d6cb1905c8

show more ...


# 31491a6a 19-Aug.-2017 Mike Bayer <mike_mp@zzzcomputing.com>

- rework the unittests README which was very out of date

Change-Id: Id9bda43ea493a8d493be5ecb19da16a91a298f9d


# 8c2c464c 07-Oct.-2016 Ville Skyttä <ville.skytta@iki.fi>

spelling: Postgresql -> PostgreSQL


# bf70f556 31-Jan.-2015 Mike Bayer <mike_mp@zzzcomputing.com>

- Added support for the :class:`postgresql.JSONB` datatype when
using psycopg2 2.5.4 or greater, which features native conversion
of JSONB data so that SQLAlchemy's converters must be disable

- Added support for the :class:`postgresql.JSONB` datatype when
using psycopg2 2.5.4 or greater, which features native conversion
of JSONB data so that SQLAlchemy's converters must be disabled;
additionally, the newly added psycopg2 extension
``extras.register_default_jsonb`` is used to establish a JSON
deserializer passed to the dialect via the ``json_deserializer``
argument. Also repaired the Postgresql integration tests which
weren't actually round-tripping the JSONB type as opposed to the
JSON type. Pull request courtesy Mateusz Susik.

- Repaired the use of the "array_oid" flag when registering the
HSTORE type with older psycopg2 versions < 2.4.3, which does not
support this flag, as well as use of the native json serializer
hook "register_default_json" with user-defined ``json_deserializer``
on psycopg2 versions < 2.5, which does not include native json.

show more ...


# 3c30e805 08-Aug.-2014 Mike Bayer <mike_mp@zzzcomputing.com>

- memusage is fine for parallel


# 54592942 27-Jul.-2014 Mike Bayer <mike_mp@zzzcomputing.com>

- add support for tags, including include/exclude support.
simplify tox again now that we can exclude tests more easily


# 35551841 26-Jul.-2014 Mike Bayer <mike_mp@zzzcomputing.com>

- reorganize tox options


# 5c1dd212 15-May-2014 Gunnlaugur Þór Briem <gunnlaugur@gmail.com>

Add note on PostgreSQL config for test runs

Several tests on PostgreSQL depend on English-language text search
config being the default in the test DB. This adds a note about that.


# a4e84a15 06-Mar.-2014 Mike Bayer <mike_mp@zzzcomputing.com>

- cx_oracle test for "unicode returns" needs to be cx_oracle only,
and also will fail on py3k.
- enhance exclusions so that a requirement attribute can be passed
to fails_if/skip_if.

- cx_oracle test for "unicode returns" needs to be cx_oracle only,
and also will fail on py3k.
- enhance exclusions so that a requirement attribute can be passed
to fails_if/skip_if.
- fix coverage docs to mention pytest.

show more ...


# ea05a232 03-Mar.-2014 Mike Bayer <mike_mp@zzzcomputing.com>

- Support has been added for pytest to run tests. This runner
is currently being supported in addition to nose, and will likely
be preferred to nose going forward. The nose plugin system

- Support has been added for pytest to run tests. This runner
is currently being supported in addition to nose, and will likely
be preferred to nose going forward. The nose plugin system used
by SQLAlchemy has been split out so that it works under pytest as
well. There are no plans to drop support for nose at the moment
and we hope that the test suite itself can continue to remain as
agnostic of testing platform as possible. See the file
README.unittests.rst for updated information on running tests
with pytest.

The test plugin system has also been enhanced to support running
tests against mutiple database URLs at once, by specifying the ``--db``
and/or ``--dburi`` flags multiple times. This does not run the entire test
suite for each database, but instead allows test cases that are specific
to certain backends make use of that backend as the test is run.
When using pytest as the test runner, the system will also run
specific test suites multiple times, once for each database, particularly
those tests within the "dialect suite". The plan is that the enhanced
system will also be used by Alembic, and allow Alembic to run
migration operation tests against multiple backends in one run, including
third-party backends not included within Alembic itself.
Third party dialects and extensions are also encouraged to standardize
on SQLAlchemy's test suite as a basis; see the file README.dialects.rst
for background on building out from SQLAlchemy's test platform.

show more ...


# dceadfca 25-Nov.-2013 Marc Abramowitz <marc@marc-abramowitz.com>

README.unittests.rst: Add blurb about tox


# b38a76cd 30-Jun.-2013 Mike Bayer <mike_mp@zzzcomputing.com>

- 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.

- 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.

show more ...


123