spasovski/zamboni — comment on commit 14b165329afb7712d0a9279ff8353130642171f8
File: apps/addons/tests/test_forms.py line 290
By cvan:

a simpler way to test this:

eq_(list(webapp.device_types.all()), [addondt])

coerce the QuerySet to a list and compare it to the expected objects.