diff --git a/tests/python_tests/pgraster_test.py b/tests/python_tests/pgraster_test.py index 915c4064b..b496ad44d 100644 --- a/tests/python_tests/pgraster_test.py +++ b/tests/python_tests/pgraster_test.py @@ -32,6 +32,7 @@ def call(cmd,silent=False): if not stderr: return stdin.strip() elif not silent and 'error' in stderr.lower() \ + or 'not found' in stderr.lower() \ or 'could not connect' in stderr.lower() \ or 'bad connection' in stderr.lower() \ or 'not recognized as an internal' in stderr.lower(): diff --git a/tests/python_tests/postgis_test.py b/tests/python_tests/postgis_test.py index 1ad22113d..13f46a09e 100644 --- a/tests/python_tests/postgis_test.py +++ b/tests/python_tests/postgis_test.py @@ -24,6 +24,7 @@ def call(cmd,silent=False): if not stderr: return stdin.strip() elif not silent and 'error' in stderr.lower() \ + or 'not found' in stderr.lower() \ or 'could not connect' in stderr.lower() \ or 'bad connection' in stderr.lower() \ or 'not recognized as an internal' in stderr.lower():