@common_base.no_skip_on_missing_deps
    def check_command(self, cmd, error_text, skip_msg, run_as_root=False):
        try:
            utils.execute(cmd, run_as_root=run_as_root)
        except RuntimeError as e:
            if error_text in str(e):
                self.skipTest(skip_msg)
            raise
dataset/ETHPy150Open openstack/neutron/neutron/tests/functional/base.py/BaseSudoTestCase.check_command/original