Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test_thing(self):
- @mock.patch.object(self.compute, 'foo')
- @mock.patch.object(self.compute, 'bar')
- def really_test_thing(mock1, mock2):
- ...
- really_test_thing()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement