def test_deleting_a_version_reorders(self):
        # @@@ what about bulk deletion of product versions?
        p = self.F.ProductFactory.create()
        self.F.ProductVersionFactory.create(version="2.10", product=p)
        self.F.ProductVersionFactory.create(version="2.9", product=p)

        self.F.ProductVersionFactory.create(version="2.11", product=p).delete()

        self.assertEqual(
            [(v.version, v.latest) for v in p.versions.all()],
            [("2.9", False), ("2.10", True)]
            )
Pop a subtask off the ProgressModel.
dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py/ProductVersionTest.test_deleting_a_version_reorders--crossover with--dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/progress_model.py/ProgressModel.pop