join cache_images result in tests

This commit is contained in:
Russell Haering 2014-01-09 15:36:39 -08:00
parent 710e250646
commit 6cd8af0dd2

View File

@ -67,8 +67,9 @@ class TestBaseTeethAgent(unittest.TestCase):
invalid_info)
def test_cache_images_success(self):
self.agent.cache_images('cache_images',
result = self.agent.cache_images('cache_images',
[self._build_fake_image_info()])
result.join()
def test_cache_images_invalid_image_list(self):
self.assertRaises(errors.InvalidCommandParamsError,