jsocol/django-waffle — comment on commit 04b50bd529b12f83c8b44468c86ceceb28ba8aca
File: docs/testing-waffles.rst line 51
By robhudson:

I prefer creating the flag or switch in a test, but when I do mock it, I put a comment after to specify *which* flag it was I was intending to mock. Good for when you search/remove flags or have many flags at the same time as mentioned. I think it'd be handy to encourage this behavior...

`@mock.patch.object(views.waffle, 'flag_is_active') # for flag 'waffles-are-yummy'`, e.g.?