gabrielfalcao / sure

sophisticated automated test library and runner
https://sure.readthedocs.io
GNU General Public License v3.0
698 stars 74 forks source link

Remove mock as dependency #161

Closed gabrielfalcao closed 9 months ago

gabrielfalcao commented 4 years ago

Pull Request Type

Summary

This is a fix for #146 following the suggestion by @adammartin-mednax to remove mock as dependency.

Additionally all tests now run with nose and pytest.

musicinmybrain commented 3 years ago

Speaking as the new volunteer maintainer of the python-sure package in Fedora Linux, and considering https://fedoraproject.org/wiki/Changes/DeprecatePythonMock, this would be very welcome!

yan12125 commented 1 year ago

Hi @gabrielfalcao, Arch Linux is also moving away from mock https://archlinux.org/todo/drop-python-mock-checkdepends/. I cannot test this patch due to conflicts. Could you rebase it? Thanks!

Update: https://github.com/gabrielfalcao/sure/blob/master/tests/test_assertion_builder.py also uses mock. It will be great if unittest.mock is also used there.