-
Notifications
You must be signed in to change notification settings - Fork 671
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 <[email protected]> * add UpdateWorkflowAttributes error with no attributes test case Signed-off-by: Arthur <[email protected]> * add DeleteWorkflowAttributes error test case Signed-off-by: Arthur <[email protected]> * add DeleteProjectAttributes error test cases Signed-off-by: Arthur <[email protected]> * add UpdateProjectDomainAttributes error test case Signed-off-by: Arthur <[email protected]> * add GetProjectDomainAttributes error test case Signed-off-by: Arthur <[email protected]> * add DeleteProjectDomainAttributes error test case Signed-off-by: Arthur <[email protected]> * add ListAll error test case Signed-off-by: Arthur <[email protected]> * add check if the UpdateWorkflowAttributes return the FlyteAdminError Signed-off-by: Arthur <[email protected]> * add check if GetWorkflowAttributes return FlyteAdminError type Signed-off-by: Arthur <[email protected]> * add check of error type for validation and Delete Function error Signed-off-by: Arthur <[email protected]> * add error message assert for DeleteWorkflowAttributes validate and delete function error Signed-off-by: Arthur <[email protected]> * add error message assert for DeleteProjectAttributes validate and delete function error Signed-off-by: Arthur <[email protected]> * add error message assert for GetWorkflowAttributes validate and Get function error Signed-off-by: Arthur <[email protected]> * add error message check for UpdateWorkflowAttributes domain error Signed-off-by: Arthur <[email protected]> * add validate and empty request attribute instance error type check and error message check for UpdateProjectDomainAttributes Signed-off-by: Arthur <[email protected]> * add validate and project domain error type and error message check Signed-off-by: Arthur <[email protected]> * add delete function fail and validate error type and message check for DeleteProjectDomainAttributes Signed-off-by: Arthur <[email protected]> * add resource error type and message check for ListAll test Signed-off-by: Arthur <[email protected]> --------- Signed-off-by: Arthur <[email protected]> Signed-off-by: Eduardo Apolinario <[email protected]> Co-authored-by: Eduardo Apolinario <[email protected]>
- 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