Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use assertNotEqual
  • Loading branch information
pblottiere committed Jun 18, 2021
1 parent 5cc050f commit 1552518
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/python/test_qgsauxiliarystorage.py
Expand Up @@ -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__':
Expand Down

0 comments on commit 1552518

Please sign in to comment.