You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2022/05/09 06:59:24 UTC

[GitHub] [libcloud] pgajdos commented on issue #1684: use unittest.mock instead of mock

pgajdos commented on issue #1684:
URL: https://github.com/apache/libcloud/issues/1684#issuecomment-1120715472

   Yes, forgot to add:
   https://fedoraproject.org/wiki/Changes/DeprecatePythonMock
   https://trello.com/b/WsskhdXA/opensuse-python
   
   You seem to not support Python 2 anymore and as far as I tested:
   https://build.opensuse.org/package/show/home:pgajdos:python/python-apache-libcloud
   the testsuite run is successful at least with python 3.6 and later (see [python-apache-libcloud-no-mock.patch](https://build.opensuse.org/package/view_file/home:pgajdos:python/python-apache-libcloud/python-apache-libcloud-no-mock.patch)).
   
   The root of this is sake of simplicity, why not use built-in unittest.mock instead of another library. That is of course your choice and feel free to close this in case you feel it is better to stay with python-mock.
   
   Thank you for consideration


-- 
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-unsubscribe@libcloud.apache.org

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