def test_appsupport(self):
        ids = Addon.objects.values_list('id', flat=True)
        cron._update_appsupport(ids)
        assert AppSupport.objects.filter(app=amo.FIREFOX.id).count() == 4

        # Run it again to test deletes.
        cron._update_appsupport(ids)
        assert AppSupport.objects.filter(app=amo.FIREFOX.id).count() == 4
    def test_appsupport(self):
        ids = Addon.objects.values_list('id', flat=True)
        cron._update_appsupport(ids)
        assert AppSupport.objects.filter(app=amo.FIREFOX.id).count() == 4

        # Run it again to test deletes.
        cron._update_appsupport(ids)
        assert AppSupport.objects.filter(app=amo.FIREFOX.id).count() == 4