We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa3bf5 commit 9035e97Copy full SHA for 9035e97
test_app/tests/lib/utils/test_db.py
@@ -130,10 +130,14 @@ def test_listener_string_production_use(self):
130
131
@pytest.mark.django_db
132
def test_psycopg_connection_from_django_existing_conn(self):
133
+ if connection.vendor == 'sqlite':
134
+ pytest.skip('Advisory lock is not written for sqlite')
135
assert isinstance(psycopg_connection_from_django(), psycopg.Connection)
136
137
@pytest.mark.django_db(transaction=True)
138
def test_psycopg_connection_from_django_new_conn(self):
139
140
141
connection.close()
142
143
0 commit comments