mozilla/zamboni — comment on commit 8ed839e2f8aca7060e00c0ce4b98195d9c2fbaa3
File: apps/search/tests/test_views.py line 138
By kumar303:

@cvan I don't think you can rely on id=4 here. These tests are failing on the new ci machine because that ID does not exist. How about:

addon = Addon.objects.all()[4]
self.assert_ajax_query('q=%s' % addon.pk, [addon])

https://ci.mozilla.org/job/amo-master/4492/consoleFull