Update .gitreview for stable/yoga
- Rename tenant with project_id
Since oslo.context=4.0.0 Feb 3, 2022 the deprecated argument
tenant was removed [1]
- Bump docutils in lower-constraints and test-requirements
[1] f4cbe4c296
Change-Id: I598a37f1ac6b4006693bfd985248e7e222740b55
This commit is contained in:
parent
ffce75af6c
commit
3b73a51a23
@ -2,3 +2,4 @@
|
||||
host=review.opendev.org
|
||||
port=29418
|
||||
project=openstack/monasca-common
|
||||
defaultbranch=stable/yoga
|
||||
|
@ -4,7 +4,7 @@ bandit==1.4.0
|
||||
confluent-kafka==1.3.0
|
||||
coverage==4.0
|
||||
debtcollector==1.2.0
|
||||
docutils==0.11
|
||||
docutils==0.14
|
||||
extras==1.0.0
|
||||
fixtures==3.0.0
|
||||
future==0.16.0
|
||||
|
@ -28,7 +28,7 @@ class PolicyFileTestCase(base.BaseTestCase):
|
||||
def setUp(self):
|
||||
super(PolicyFileTestCase, self).setUp()
|
||||
self.context = context.RequestContext(user='fake',
|
||||
tenant='fake',
|
||||
project_id='fake',
|
||||
is_admin=False)
|
||||
self.target = {}
|
||||
|
||||
@ -83,7 +83,7 @@ class PolicyTestCase(base.BaseTestCase):
|
||||
policy_engine.init()
|
||||
|
||||
self.context = context.RequestContext(user='fake',
|
||||
tenant='fake',
|
||||
project_id='fake',
|
||||
is_admin=False)
|
||||
policy_engine._ENFORCER.register_defaults(rules)
|
||||
self.target = {}
|
||||
|
@ -15,4 +15,4 @@ requests-mock>=1.2.0 # Apache-2.0
|
||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||
testscenarios>=0.4 # Apache-2.0/BSD
|
||||
testtools>=2.2.0 # MIT
|
||||
docutils>=0.11
|
||||
docutils>=0.14
|
||||
|
Loading…
x
Reference in New Issue
Block a user