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: I703d49f5e5870bf45030fc5502749e197aae3a3b
This commit is contained in:
parent
ffce75af6c
commit
873cbf82f6
@ -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