

def test_update_dscp_marking_rule_with_dscp_mark(self):
    cmd = dscp_rule.UpdateQoSDscpMarkingRule(test_cli20.MyApp(sys.stdout), None)
    my_id = 'my-id'
    dscp_mark = '56'
    policy_id = 'policy_id'
    args = ['--dscp-mark', dscp_mark, my_id, policy_id]
    dscp_mark._test_update_resource(self.dscp_res, cmd, my_id, args, {
        'dscp_mark': dscp_mark,
    }, cmd_resource=self.dscp_cmd_res, parent_id=policy_id)

dataset/ETHPy150Open openstack/python-neutronclient/neutronclient/tests/unit/qos/test_cli20_dscp_marking_rule.py CLITestV20QoSDscpMarkingRuleJSON.test_update_dscp_marking_rule_with_dscp_mark/VarMisuse@52/104 `self`->`dscp_mark`