-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(s/antelope) Change skipVersion decorator to a function
The skipVersion decorator was proving to be tricky to use because it took an application name which we didn't want to hard-code, since it is in hacluster/tests.py. One alternative was to pass a charm name instead of application name, but if there were mutiple hacluster applications in the model (e.g. keystone-hacluster and nova-hacluster) we would have to pick just one to test the package version on. After further discussion we decided to change the decorator to a function so that we could use existing class variables to generate the desired hacluster application name. cherry-pick 95fcad2 From PR#1037
- Loading branch information
1 parent
6ed26d8
commit 8507622
Showing
3 changed files
with
39 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters