Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more debug info for PG testSaveStyleInvalidXML
  • Loading branch information
3nids committed Sep 22, 2022
1 parent ef678d1 commit 13c0f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_provider_postgres.py
Expand Up @@ -2133,8 +2133,8 @@ def testSaveStyleInvalidXML(self):
self.assertEqual(errorMsg, "")

qml, errmsg = vl.getStyleFromDatabase("1")
self.assertTrue('v="\u001E"' in qml)
self.assertEqual(errmsg, "")
self.assertTrue('v="\u001E"' in qml, f"record separator character (\u001E) not found in qml: {qml}")

# Test loadStyle from metadata
md = QgsProviderRegistry.instance().providerMetadata('postgres')
Expand Down

0 comments on commit 13c0f06

Please sign in to comment.