A small correction... On Mon, 13 Mar 2017 at 22:36 Matt Wheeler <m...@funkyhat.org> wrote:
> ``` > from unittest.mock import patch > > import lorem > > > @patch('lorem.type') > def test_things(mocktype): > lorem.quux(metameta.Foo()) > > lorem.return_value.assert_called_with() > this line should of course read `mocktype.return_value.assert_called_with()` > ``` > -- -- Matt Wheeler http://funkyh.at -- https://mail.python.org/mailman/listinfo/python-list