join cache_images result in tests
This commit is contained in:
parent
710e250646
commit
6cd8af0dd2
@ -67,8 +67,9 @@ class TestBaseTeethAgent(unittest.TestCase):
|
|||||||
invalid_info)
|
invalid_info)
|
||||||
|
|
||||||
def test_cache_images_success(self):
|
def test_cache_images_success(self):
|
||||||
self.agent.cache_images('cache_images',
|
result = self.agent.cache_images('cache_images',
|
||||||
[self._build_fake_image_info()])
|
[self._build_fake_image_info()])
|
||||||
|
result.join()
|
||||||
|
|
||||||
def test_cache_images_invalid_image_list(self):
|
def test_cache_images_invalid_image_list(self):
|
||||||
self.assertRaises(errors.InvalidCommandParamsError,
|
self.assertRaises(errors.InvalidCommandParamsError,
|
||||||
|
Loading…
Reference in New Issue
Block a user