-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Caracal] Update github workflow & Fix unit tests
Update python version to 3.10 and set the base branch in the github workflowto Caracal(2024.1-m3). Fix Unit Tests: With later versions of pecan, WebTest is not a dependency of it anymore, so in order to continue using this, an additional import in test-requirements is required. Remove autoconfig loading, which breaks stestr test execution. Cli options can be loaded only once (without clearing them), which causes our tests to fail as required default configuration cli options can not be registered, as an default configuration has already been loaded. As part of the secure RBAC community goal, the "enforce_new_defaults" and "enforce_scope" setting is True by default. Avoiding PolicyNotAuthorized erros during test execution certain actions simply need to be executed as admin.
- Loading branch information
1 parent
9035ee7
commit 7b3376f
Showing
6 changed files
with
16 additions
and
15 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ testtools>=1.4.0 | |
testresources>=0.2.4 | ||
requests | ||
stestr>=1.0.0 # Apache-2.0 | ||
WebTest>=2.0.27 # MIT |
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