From 9193048edf186d90739ff2e1b3d9737fc3ba06fb Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sat, 25 Jul 2015 17:42:23 +0200 Subject: [PATCH] Don't set tenant_id for rule objects There is no such field anyway. Partially-Implements: blueprint quantum-qos-api Change-Id: Iac895d7eff8dc4f34b56007a48fa6fc64535fca3 --- neutron/tests/unit/objects/qos/test_policy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/neutron/tests/unit/objects/qos/test_policy.py b/neutron/tests/unit/objects/qos/test_policy.py index afd6a7982..ea7d230cb 100644 --- a/neutron/tests/unit/objects/qos/test_policy.py +++ b/neutron/tests/unit/objects/qos/test_policy.py @@ -94,7 +94,6 @@ class QosPolicyDbObjectTestCase(test_base.BaseDbObjectTestCase, rule_fields = self.get_random_fields( obj_cls=rule.QosBandwidthLimitRule) rule_fields['qos_policy_id'] = policy_obj.id - rule_fields['tenant_id'] = policy_obj.tenant_id rule_obj = rule.QosBandwidthLimitRule(self.context, **rule_fields) rule_obj.create() -- 2.45.2