Yaniv Bronhaim has posted comments on this change. Change subject: test: Use mock module for testing ......................................................................
Patch Set 1: (1 comment) I don't mind having mock in parallel to our current monkey patch. though, we plan to migrate to pytest, so might be better to integrate usages to pytest-mock maybe .. https://gerrit.ovirt.org/#/c/55342/1/lib/vdsm/compat.py File lib/vdsm/compat.py: Line 50: from unittest import mock Line 51: mock Line 52: except ImportError: # py2 Line 53: import mock Line 54: mock I wonder if worth to put this import under testlib or monkeypatch.py - although it does the same as the rest compat imports, it's still testing part -- To view, visit https://gerrit.ovirt.org/55342 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I1c0af7baab7c35a2617bd60a62a0b1534e5f8894 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Edward Haas <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Edward Haas <[email protected]> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: Ondřej Svoboda <[email protected]> Gerrit-Reviewer: Petr Horáček <[email protected]> Gerrit-Reviewer: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: gerrit-hooks <[email protected]> Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
