def test_applicationRunnerGetsCorrectApplication(self):
        arunner = CrippledApplicationRunner(self.config)
        arunner.run()

        self.assertIdentical(
            self.serviceMaker.options, self.config.subOptions,
            "ServiceMaker.makeService needs to be passed the correct "
            "sub Command object.")
        self.assertIdentical(
            self.serviceMaker.service,
            service.IService(arunner.application).services[0],
            "ServiceMaker.makeService's result needs to be set as a child "
            "of the Application.")
Adds passed accessories to product with passed id.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_twistd.py/ApplicationRunnerTest.test_applicationRunnerGetsCorrectApplication--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/manage/product/accessories.py/add_accessories