zhongjiajie commented on PR #130:
URL: 
https://github.com/apache/dolphinscheduler-sdk-python/pull/130#issuecomment-1882168682

   Hi @HarshitNagpal29  I add and fix some tests in 
[3a22ec0](https://github.com/apache/dolphinscheduler-sdk-python/pull/130/commits/3a22ec060c4a9b2e1b28242ac54990a4e1a073d8)
   
   for the `test_http_params` we need to mock the return of function 
`gen_code_and_version` which is called with dolphinscheduler code in 
apache/dolphinscheduler
   
   ```py
   @patch(
       "pydolphinscheduler.core.task.Task.gen_code_and_version",
       return_value=(123, 1),
   )
   ```
   
   and for case `test_http_params_deprecation_warning`, `w[-1].message` is 
detail of warnings message, which depend on your     warning message in the 
class `Http`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to