def test_add_deps(self):
        s4 = Service.objects.create(name='foo', site=self.site)
        sblob = self.get_service(s4.iql_stmt())
        sblob['services'][0]['depends_on'] = [
            self.s1.iql_stmt(),
            self.s2.iql_stmt(),
            self.s3.iql_stmt()
        ]

        # import the blob
        _, resp = self.import_services(sblob)
        self.assertEqual(resp.status_code, 200, resp.content)

        pk_list = map(lambda d: d.provider.pk, s4.providers.all())
        self.assertTrue(pk_list in self.s1.pk)
        self.assertTrue(self.s2.pk in pk_list)
        self.assertTrue(self.s3.pk in pk_list)
dataset/ETHPy150Open mozilla/inventory/core/service/tests/test_api.py/ServiceAPITests.test_add_deps/swapped operands of `in`