Closed effjot closed 2 years ago
You referring to Windows style path C:\\Users\...
in the links
right ?
Is-it possible to add tests ? (There are already tests about HTML template in the test_sql.py, maybe you can update an existing link ?)
You can also add a item in the changelog file if you want.
You referring to Windows style path C:\Users... in the links right ?
Exactly. However, they have to be stored as file:///C:\…
(three forward slashes) in order for the Qgis URL handler to open them correctly.
Is-it possible to add tests ? (There are already tests about HTML template in the test_sql.py, maybe you can update an existing link ?)
I have added tests for both HTML template and DCAT export. Is it intended that the dataset license is added to each link? In real use cases, links may point to some different data/publications that are not licensed the same way as the dataset itself.
Do you need anything more for this PR?
Thanks !
Thanks!
regexp_replace()
can refer to subexpressions in the match pattern by\1
…\9
.)(I apologise for the mess in the last commits. The tests failed and I thought all those quotes and backslashes tripped the tests up. They do in the syntax highlighting of some apps. But I just had forgotten a function comment in the upgrade.sql.)