summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-16 12:59:38 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-21 22:35:17 +0200
commitf77427b1b54bd8dfd1cba933dd6dfd824e2b8877 (patch)
treee655033e7e14e7e1fd2f41b218da5aa113faed74 /pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch
parentc5539bc5623d28a21f6db867580987e44860eeb3 (diff)
python3Packages.sqlalchemy-utils: 0.38.2 -> 0.38.3
Diffstat (limited to 'pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch')
-rw-r--r--pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch b/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch
index 887128dd44ce..79aa12f03d99 100644
--- a/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch
+++ b/pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch
@@ -2,13 +2,15 @@ diff --git a/conftest.py b/conftest.py
index 9e146cd..8dbc9a5 100644
--- a/conftest.py
+++ b/conftest.py
-@@ -61,16 +61,12 @@ def mysql_db_user():
+@@ -61,17 +61,12 @@ def mysql_db_user():
@pytest.fixture
- def postgresql_dsn(postgresql_db_user, postgresql_db_password, db_name):
-- return 'postgresql://{0}:{1}@localhost/{2}'.format(
+ def postgresql_dsn(postgresql_db_user, postgresql_db_password, postgresql_db_host,
+ db_name):
+- return 'postgresql://{0}:{1}@{2}/{3}'.format(
- postgresql_db_user,
- postgresql_db_password,
+- postgresql_db_host,
- db_name
- )
+ pytest.skip()
@@ -68,7 +70,7 @@ index 0ad6721..83f208d 100644
'TEMPLATE "my-template"') in str(excinfo.value)
--class TestDatabasePostgresCreateDatabaseCloseConnection(object):
+-class TestDatabasePostgresCreateDatabaseCloseConnection:
- def test_create_database_twice(
- self,
- postgresql_db_user,