def test_subclassed_commands(self):
        # Create the subclass resource, overriding a superclass command.
        class MyResource(models.Resource):
            endpoint = '/bogus/'

            @resources.command
            def list(self, **kwargs):
                return super(MyResource, self).list(**kwargs)

        # Establish that it has one of the options added to the
        # superclass list command.
        self.assertTrue(any([i.name == 'query'
                            for i in MyResource.list.__click_params__]))
return a list of running pids
dataset/ETHPy150Open ansible/tower-cli/tests/test_models_base.py/ResourceMetaTests.test_subclassed_commands--crossover with--dataset/ETHPy150Open benoitc/gaffer/gaffer/httpclient/job.py/Job.pids