<#6823 [Test] Add Task service api test structure ...
# flyte-github
a
#6823 [Test] Add Task service api test structure and for DeployTask Pull request opened by machichima ## Tracking issue Closes #6818 Closes #6819 ## Why are the changes needed? Add api test for task service. ## What changes were proposed in this pull request? • Create the structure of running API test, including setup the test server, DB, and clean up for each test • Add API test for
DeployTask
## How was this patch tested? • API test [image](https://private-user-images.githubusercontent.com/60069744/530613955-72e9cb7a-9bc2-436f-a7e8-19db7406dcf5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjcwMDYxNDYsIm5iZiI6MTc2NzAwNTg0NiwicGF0aCI6Ii82MDA2OTc0NC81MzA2MTM5NTUtNzJlOWNiN2EtOWJjMi00MzZmLWE3ZTgtMTlkYjc0MDZkY2Y1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjI5VDEwNTcyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUxYzc0MDFhOTMyOTcyZjEzMDE2NzM1YWYyOWJlYmVlZGZmN2JmMzdjYTI5ZWRhOGU5YmQ4YTBmM2E0ZTU1OWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._sQuEz9VWvUvrYTRasRJPs_IeHhE6ruvcT20T4Obhqo) ### Labels Please add one or more of the following labels to categorize your PR: • added: For new features. • changed: For changes in existing functionality. • deprecated: For soon-to-be-removed features. • removed: For features being removed. • fixed: For any bug fixed. • security: In case of vulnerabilities This is important to improve the readability of release notes. ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link flyteorg/flyte