Skip to content
Permalink
Browse files
Use assertNotEqual
  • Loading branch information
pblottiere committed Jun 18, 2021
1 parent 5cc050f commit 1552518a6e923f912d7bcca13bfbf645095e73e9
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/src/python/test_qgsauxiliarystorage.py
@@ -594,11 +594,11 @@ def testQgdCreationInQgz(self):
self.assertTrue(p.write(qgz))
self.assertTrue(os.path.exists(qgz))

# Check the content of the archive: auxiliary database doesn't exist
# because it's empty
# Check the content of the archive: auxiliary database exist
# because it's not empty
archive = QgsProjectArchive()
archive.unzip(qgz)
self.assertTrue(archive.auxiliaryStorageFile())
self.assertNotEqual(archive.auxiliaryStorageFile(), '')


if __name__ == '__main__':

0 comments on commit 1552518

Please sign in to comment.