From: Federico Caselli Date: Fri, 24 Jan 2020 18:22:19 +0000 (+0100) Subject: add configuration for mssql with docker X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d40b99c5026c2557e0f9bbfdabfd4ba926a6d7c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add configuration for mssql with docker --- diff --git a/README.unittests.rst b/README.unittests.rst index 9528fdf8e2..d108a4839d 100644 --- a/README.unittests.rst +++ b/README.unittests.rst @@ -283,6 +283,10 @@ intended for production use! # To stop the container. It will also remove it. docker stop mssql +NOTE: with this configuration the url to use is not the default one configured +in setup, but ``mssql+pymssql://scott:tiger^5HHH@127.0.0.1:1433/test``. It can +be used with py.test by using ``--db docker_mssql`` + CONFIGURING LOGGING ------------------- SQLAlchemy logs its activity and debugging through Python's logging package. diff --git a/setup.cfg b/setup.cfg index 2ee0abbe07..6386e6002d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -60,6 +60,7 @@ pymysql=mysql+pymysql://scott:tiger@127.0.0.1:3306/test?charset=utf8mb4 mssql=mssql+pyodbc://scott:tiger^5HHH@mssql2017:1433/test?driver=ODBC+Driver+13+for+SQL+Server mssql_pymssql=mssql+pymssql://scott:tiger@ms_2008 +docker_mssql=mssql+pymssql://scott:tiger^5HHH@127.0.0.1:1433/test oracle=oracle://scott:tiger@127.0.0.1:1521 oracle8=oracle://scott:tiger@127.0.0.1:1521/?use_ansi=0