commit | 6fbfed03d31a3041a62ca621551f22829f42da2d | [log] [tgz] |
---|---|---|
author | Michael Johnson <johnsomor@gmail.com> | Thu Mar 19 15:37:31 2020 -0700 |
committer | Michael Johnson <johnsomor@gmail.com> | Tue Aug 04 21:53:06 2020 +0000 |
tree | 946b1a7ace8177295173cc4fee158252c65506d6 | |
parent | 794072ac96970336c1e11704100463006ee954bf [diff] |
Add skip_if_not_implemented to the service client This patch adds a decorator that wraps the service client methods adding the ability to raise a skipException if a call to the API returns a NotImplementedError or UnsupportedOptionError exception. This is useful for running the tests against provider drivers that do not support all of the Octavia API features. Change-Id: I17d4be65130fadf97d6170d22fb07c72672b7573