commit | 4e9303e1bb83da10f8d5d97ee4fd31447c5dc396 | [log] [tgz] |
---|---|---|
author | Luigi Toscano <ltoscano@redhat.com> | Fri Jun 24 11:37:34 2022 +0200 |
committer | Luigi Toscano <ltoscano@redhat.com> | Fri Jun 24 11:37:34 2022 +0200 |
tree | a5c223137ef45201d8c60b3e4f7953e4a3167cfc | |
parent | 11c8cfae0ce85b874ab055e685accba85f460fda [diff] |
Fix the import of NotFound exception It is exported by tempest.lib.exceptions, not tempest.exceptions (it was originally until 2015). Change-Id: Ic8ef45bcb9518968d32872a93fc3381004d218ff
diff --git a/barbican_tempest_plugin/tests/scenario/manager.py b/barbican_tempest_plugin/tests/scenario/manager.py index 8daf090..621ee7c 100644 --- a/barbican_tempest_plugin/tests/scenario/manager.py +++ b/barbican_tempest_plugin/tests/scenario/manager.py
@@ -295,7 +295,7 @@ available_stores = [] try: available_stores = self.image_client.info_stores()['stores'] - except exceptions.NotFound: + except lib_exc.NotFound: pass available_import_methods = self.image_client.info_import()[ 'import-methods']['value']