> Please read the unittest.mock documentation, it has lots of examples on how to > use it and the best way to do it. > > https://docs.python.org/3/library/unittest.mock.html > > Check my comments below for the best way to use the library.
We tried to change this test to use @patch with phill, but failed. -- https://code.launchpad.net/~suutari-olli/openlp/fix-advanced-bible-search-clear-button-giving-focus-to-quick/+merge/303487 Your team OpenLP Core is subscribed to branch lp:openlp. _______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp