diff options
Diffstat (limited to 'bitbake/lib/hashserv/tests.py')
-rw-r--r-- | bitbake/lib/hashserv/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/hashserv/tests.py b/bitbake/lib/hashserv/tests.py index 1a696481e3..e2b762dbf0 100644 --- a/bitbake/lib/hashserv/tests.py +++ b/bitbake/lib/hashserv/tests.py | |||
@@ -6,7 +6,6 @@ | |||
6 | # | 6 | # |
7 | 7 | ||
8 | from . import create_server, create_client | 8 | from . import create_server, create_client |
9 | from .client import HashConnectionError | ||
10 | import hashlib | 9 | import hashlib |
11 | import logging | 10 | import logging |
12 | import multiprocessing | 11 | import multiprocessing |
@@ -277,7 +276,7 @@ class HashEquivalenceCommonTests(object): | |||
277 | outhash2 = '3c979c3db45c569f51ab7626a4651074be3a9d11a84b1db076f5b14f7d39db44' | 276 | outhash2 = '3c979c3db45c569f51ab7626a4651074be3a9d11a84b1db076f5b14f7d39db44' |
278 | unihash2 = '90e9bc1d1f094c51824adca7f8ea79a048d68824' | 277 | unihash2 = '90e9bc1d1f094c51824adca7f8ea79a048d68824' |
279 | 278 | ||
280 | with self.assertRaises(HashConnectionError): | 279 | with self.assertRaises(ConnectionError): |
281 | ro_client.report_unihash(taskhash2, self.METHOD, outhash2, unihash2) | 280 | ro_client.report_unihash(taskhash2, self.METHOD, outhash2, unihash2) |
282 | 281 | ||
283 | # Ensure that the database was not modified | 282 | # Ensure that the database was not modified |