def assertOrder(self, *versions):
        from moztrap.model.core.models import by_version
        objs = [
            self.F.ProductVersionFactory(version=v) for v in reversed(versions)
            ]
        candidate = [o.version for o in sorted(objs, key=by_version)]

        self.assertEqual(candidate, list(versions))
Get owner, repository, commit SHA and Github status API URL from webhook payload.
dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py/SortByVersionTest.assertOrder--crossover with--dataset/ETHPy150Open openaddresses/machine/openaddr/ci/__init__.py/get_commit_info