Kami commented on PR #1983:
URL: https://github.com/apache/libcloud/pull/1983#issuecomment-2080723773

   @cdfmlr Thanks.
   
   I had a look again. It mostly looks good, but there are a couple of 
improvements which can be made:
   
   * `_create_node()` functionality could be refactored into multiple smaller 
methods. Right now the method is very large and complex.
   * Test case situation should be improved. There is a lot of code and 
conditional branches which are not not exercised / covered 
(https://app.codecov.io/gh/apache/libcloud/pull/1983?src=pr&el=tree&filepath=libcloud%2Fcompute%2Fdrivers%2Fkubevirt.py#diff-bGliY2xvdWQvY29tcHV0ZS9kcml2ZXJzL2t1YmV2aXJ0LnB5,
 https://github.com/apache/libcloud/pull/1983#issuecomment-2080694604). 
Existing test cases exercise only a small amount of "happy" code paths. I know 
you didn't add all of that code, but since you updated / touched a lot of it, 
it would be great to also improve the test coverage.


-- 
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: notifications-unsubscr...@libcloud.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to