Skip to content
Permalink
Browse files

Update test

  • Loading branch information
nyalldawson committed Sep 1, 2020
1 parent 2e9a70f commit 20fd8e8734fba171d62c62a15260eda08aa2d7d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsproject.py
@@ -860,7 +860,7 @@ def _check_datasource(_path):
zip_content = BytesIO(codecs.decode(f.GetFieldAsBinary(2), 'hex'))
z = ZipFile(zip_content)
qgs = z.read(z.filelist[0])
self.assertEqual(re.findall(b'<datasource>(.*)?</datasource>', qgs)[0],
self.assertEqual(re.findall(b'<datasource>(.*)?</datasource>', qgs)[1],
b'./relative_paths_gh30387.gpkg|layername=some_data')

with TemporaryDirectory() as d:

0 comments on commit 20fd8e8

Please sign in to comment.
You can’t perform that action at this time.