-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve resource manager test coverage (#5973)
* GetWorkflowAttributes error test case Signed-off-by: Arthur <Arthur2Geek@proton.me> * add UpdateWorkflowAttributes error with no attributes test case Signed-off-by: Arthur <Arthur2Geek@proton.me> * add DeleteWorkflowAttributes error test case Signed-off-by: Arthur <Arthur2Geek@proton.me> * add DeleteProjectAttributes error test cases Signed-off-by: Arthur <Arthur2Geek@proton.me> * add UpdateProjectDomainAttributes error test case Signed-off-by: Arthur <Arthur2Geek@proton.me> * add GetProjectDomainAttributes error test case Signed-off-by: Arthur <Arthur2Geek@proton.me> * add DeleteProjectDomainAttributes error test case Signed-off-by: Arthur <Arthur2Geek@proton.me> * add ListAll error test case Signed-off-by: Arthur <Arthur2Geek@proton.me> * add check if the UpdateWorkflowAttributes return the FlyteAdminError Signed-off-by: Arthur <Arthur2Geek@proton.me> * add check if GetWorkflowAttributes return FlyteAdminError type Signed-off-by: Arthur <Arthur2Geek@proton.me> * add check of error type for validation and Delete Function error Signed-off-by: Arthur <Arthur2Geek@proton.me> * add error message assert for DeleteWorkflowAttributes validate and delete function error Signed-off-by: Arthur <Arthur2Geek@proton.me> * add error message assert for DeleteProjectAttributes validate and delete function error Signed-off-by: Arthur <Arthur2Geek@proton.me> * add error message assert for GetWorkflowAttributes validate and Get function error Signed-off-by: Arthur <Arthur2Geek@proton.me> * add error message check for UpdateWorkflowAttributes domain error Signed-off-by: Arthur <Arthur2Geek@proton.me> * add validate and empty request attribute instance error type check and error message check for UpdateProjectDomainAttributes Signed-off-by: Arthur <Arthur2Geek@proton.me> * add validate and project domain error type and error message check Signed-off-by: Arthur <Arthur2Geek@proton.me> * add delete function fail and validate error type and message check for DeleteProjectDomainAttributes Signed-off-by: Arthur <Arthur2Geek@proton.me> * add resource error type and message check for ListAll test Signed-off-by: Arthur <Arthur2Geek@proton.me> --------- Signed-off-by: Arthur <Arthur2Geek@proton.me> Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
- Loading branch information
1 parent
691bde5
commit 7aeaa26
Showing
1 changed file
with
207 additions
and
0 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