Mercurial > p > roundup > code
diff test/test_liveserver.py @ 7577:0abc225864d1
only run TestPostgresWsgiServer if ostgresl is available.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 24 Jul 2023 00:35:50 -0400 |
| parents | 7b481ec7f169 |
| children | ec59729b3b7e |
line wrap: on
line diff
--- a/test/test_liveserver.py Mon Jul 24 00:13:31 2023 -0400 +++ b/test/test_liveserver.py Mon Jul 24 00:35:50 2023 -0400 @@ -8,6 +8,7 @@ from .wsgi_liveserver import LiveServerTestCase from . import db_test_base from time import sleep +from .test_postresql import skip_postgresql from wsgiref.validate import validator @@ -1227,6 +1228,7 @@ # doesn't support the max bytes to read argument. return RequestDispatcher(self.dirname, feature_flags=ff) +@skip_postgresql class TestPostgresWsgiServer(BaseTestCases, WsgiSetup): """Class to run all test in BaseTestCases with the cache_tracker feature flag enabled when starting the wsgi server
