From 20197868e5ad9adf6260b86881eb6e35a38d58e8 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 24 Oct 2017 23:53:18 +0200 Subject: Move exceptions to a separate module --- tests/test_verify.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/test_verify.py') 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) -- cgit v1.2.3