spasovski/zamboni — comment on commit e4117db17a44cbc36f6a584a2a72847ed77dd907
File: apps/webapps/tests/test_views.py line 54
By cvan:

this works because of line 4 where you `import mock`. on line 5, you've imported `patch` so you can rewrite this as `@patch.object`