def test_filtered_by_productversion(self):
        pv = self.F.ProductVersionFactory.create()

        fs = self.bound(MultiValueDict({"filter-productversion": [str(pv.id)]}))

        qs = Mock()
        qs2 = fs.filter(qs)

        qs.filter.assert_called_with(productversion__in=[pv.id])
        # no other filters intervening
        self.assertIs(qs2, qs.filter.return_value.distinct.return_value)
If filtered by productversion, doesn't filter by latest=True.
dataset/ETHPy150Open mozilla/moztrap/tests/view/manage/test_filters.py/CaseVersionFilterSetTest.test_filtered_by_productversion