def test_run_list(self):
        envs = self.F.EnvironmentFactory.create_full_set(
                {"OS": ["OS X", "Linux"]})
        r1 = self.factory.create(
            name="Foo",
            description="this",
            environments=envs,
            )
        pv = r1.productversion
        r2 = self.factory.create(
            name="Bar",
            description="that",
            productversion=pv,
            environments=envs,
            )

        res = self.get_list(params=self.auth_params)

        exp_meta = {
            "limit": 20,
            "next": None,
            "offset": 0,
            "previous": None,
            "total_count": 2,
            }

        self.assertEquals(res.json["meta"], exp_meta)

        act_objects = res.json["objects"]
        # make the envs a set, for comparison.
        for ao in act_objects:
            ao["environments"] = set(ao["environments"])

        exp_objects = []
        for exp_run in [r1, r2]:
            exp_objects.append({
                u"description": unicode(exp_run.description),
                u'environments': set([
                    unicode(self.get_detail_url("environment", envs[0].id)),
                    unicode(self.get_detail_url("environment", envs[1].id)),
                    ]),
                u"id": exp_run.id,
                u"name": unicode(exp_run.name),
                u"product_name": unicode(pv.product.name),
                u"productversion": u"/api/v1/productversion/{0}/".format(pv.id),
                u"productversion_name": unicode(pv.version),
                u"resource_uri": u"/api/v1/run/{0}/".format(exp_run.id),
                u"runcaseversions": [],
                u"status": u"draft",
                })

        self.maxDiff = None
        self.assertEqual(exp_objects, act_objects)
A builder for TeX and LaTeX that scans the source file to
dataset/ETHPy150Open mozilla/moztrap/tests/model/execution/api/test_run.py/RunResourceTest.test_run_list--crossover with--dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Tool/pdftex.py/PDFTeXLaTeXFunction