Skip to content

Commit 6b27b28

Browse files
committed
only run TestPostgresWsgiServer if ostgresl is available.
1 parent 1df93cb commit 6b27b28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_liveserver.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from .wsgi_liveserver import LiveServerTestCase
99
from . import db_test_base
1010
from time import sleep
11+
from .test_postresql import skip_postgresql
1112

1213
from wsgiref.validate import validator
1314

@@ -1227,6 +1228,7 @@ def create_app(self):
12271228
# doesn't support the max bytes to read argument.
12281229
return RequestDispatcher(self.dirname, feature_flags=ff)
12291230

1231+
@skip_postgresql
12301232
class TestPostgresWsgiServer(BaseTestCases, WsgiSetup):
12311233
"""Class to run all test in BaseTestCases with the cache_tracker
12321234
feature flag enabled when starting the wsgi server

0 commit comments

Comments
 (0)