def test_create_policy_rule_with_mandatory_params(self):
        resource = 'policy_rule'
        cmd = gbp.CreatePolicyRule(test_cli20.MyApp(sys.stdout), None)
        name = 'my-name'
        tenant_id = 'my-tenant'
        my_id = 'my-id'
        args = ['--tenant-id', tenant_id,
                name]
        position_names = ['name', ]
        position_values = [name, ]
        self._test_create_resource(resource, cmd, name, my_id, args,
                                   position_names, position_values,
                                   tenant_id=tenant_id)
Compile all prep files in directory, recursively if asked
dataset/ETHPy150Open openstack/python-group-based-policy-client/gbpclient/tests/unit/test_cli20_policyrule.py/CLITestV20PolicyRuleJSON.test_create_policy_rule_with_mandatory_params--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/preppy.py/compileDir