

def _validate_cmd(self, cmd):
    self._main_test_helper(['prog', cmd], cmd, [{
        'verbose': False,
    }])
    self._main_test_helper(['prog', cmd, '--verbose'], cmd, [{
        'verbose': True,
    }])

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/db/test_migration.py TestCli._validate_cmd/original