diff options
author | sgdt6900 <rhanafy.ext@orange.com> | 2018-01-04 14:59:00 +0200 |
---|---|---|
committer | sgdt6900 <rhanafy.ext@orange.com> | 2018-01-04 14:59:00 +0200 |
commit | 277f53a8731a9a31870c925450befa4992e22234 (patch) | |
tree | 3ae91caab0b9ba153d0bbd3ff38eb459d83f75cd /python_moonutilities/python_moonutilities/cache.py | |
parent | 0f88d8acc6d55a2274376c949e3ad3f4fc14dac7 (diff) |
adding more test cases for cache
Change-Id: Ie58d6d7fa18448cef677164b97c7d89ffd69c18a
Signed-off-by: sgdt6900 <rhanafy.ext@orange.com>
Diffstat (limited to 'python_moonutilities/python_moonutilities/cache.py')
-rw-r--r-- | python_moonutilities/python_moonutilities/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python_moonutilities/python_moonutilities/cache.py b/python_moonutilities/python_moonutilities/cache.py index cfc24a56..851c5489 100644 --- a/python_moonutilities/python_moonutilities/cache.py +++ b/python_moonutilities/python_moonutilities/cache.py @@ -153,7 +153,7 @@ class Cache(object): if 'actions' in response.json(): self.__ACTIONS[policy_id] = response.json()['actions'] else: - raise exceptions.ObjectUnknown("Cannot find action within policy_id {}".format(policy_id)) + raise exceptions.ActionUnknown("Cannot find action within policy_id {}".format(policy_id)) def get_action(self, policy_id, name): if not policy_id: |