summaryrefslogtreecommitdiff
path: root/tests/test_verify.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-10-24 23:53:18 +0200
committerMichał Górny <mgorny@gentoo.org>2017-10-25 00:00:20 +0200
commit20197868e5ad9adf6260b86881eb6e35a38d58e8 (patch)
tree916994e34b45f187ac93b9a38b841fb16fff6c30 /tests/test_verify.py
parent25cb3dacc7c414b2540767acef7e2cc06c0375e1 (diff)
downloadgemato-20197868e5ad9adf6260b86881eb6e35a38d58e8.tar.gz
Move exceptions to a separate module
Diffstat (limited to 'tests/test_verify.py')
-rw-r--r--tests/test_verify.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_verify.py b/tests/test_verify.py
index ccb3330..4902ec8 100644
--- a/tests/test_verify.py
+++ b/tests/test_verify.py
@@ -9,6 +9,7 @@ import socket
import tempfile
import unittest
+import gemato.exceptions
import gemato.manifest
import gemato.verify
@@ -496,11 +497,11 @@ class ExceptionVerificationTest(object):
def testWrongSizeDATA(self):
e = gemato.manifest.ManifestEntryDATA.from_list(
('DATA', os.path.basename(self.path), '0'))
- self.assertRaises(gemato.verify.ManifestMismatch,
+ self.assertRaises(gemato.exceptions.ManifestMismatch,
gemato.verify.assert_path_verifies, self.path, e)
def testNone(self):
- self.assertRaises(gemato.verify.ManifestMismatch,
+ self.assertRaises(gemato.exceptions.ManifestMismatch,
gemato.verify.gemato.verify.assert_path_verifies, self.path, None)