We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37bbeed commit c65b846Copy full SHA for c65b846
1 file changed
test/python_tests/postgis_test.py
@@ -369,7 +369,8 @@ def test_bad_connection():
369
geometry_field='geom',
370
user="rolethatdoesnotexist")
371
except Exception as e:
372
- assert 'role "rolethatdoesnotexist" does not exist' in str(e)
+ assert 'role "rolethatdoesnotexist" does not exist' in str(e) or \
373
+ 'authentication failed for user "rolethatdoesnotexist"' in str(e)
374
375
def test_empty_db():
376
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME, table='empty')
0 commit comments