Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 1, 2020
1 parent 2e9a70f commit 20fd8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsproject.py
Expand Up @@ -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:
Expand Down

0 comments on commit 20fd8e8

Please sign in to comment.