summaryrefslogtreecommitdiff
path: root/nova/tests/unit/test_context.py
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-03-19 19:08:57 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2018-04-11 11:46:19 -0400
commit28f29ca3df288bca58d36d66f5e65391322ec19d (patch)
tree0091ad8a71b4ca7658dbb0ffce5a3d68c20a4bca /nova/tests/unit/test_context.py
parentcc5ac1e41fde203e86f98971d8e5c07a13861437 (diff)
downloadnova-28f29ca3df288bca58d36d66f5e65391322ec19d.tar.gz
Remove RequestContext.instance_lock_checked
This was initially added in change I1127e31d86a061a93a64ee1eb4a4d900d8bf49b5 but is no longer used anywhere in nova since change Ic18017a16c5bffee85a43db65ff17283599a27ba. Anyway, this change still allows it to be passed as a kwarg for now but will emit a UserWarning if it is, and then we can make it a hard failure starting in the S release. Change-Id: Ib0b23a47c2e833073108af6700b16f8026631a83
Diffstat (limited to 'nova/tests/unit/test_context.py')
-rw-r--r--nova/tests/unit/test_context.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/tests/unit/test_context.py b/nova/tests/unit/test_context.py
index e10e0caf1c..012731911a 100644
--- a/nova/tests/unit/test_context.py
+++ b/nova/tests/unit/test_context.py
@@ -181,7 +181,6 @@ class ContextTestCase(test.NoDBTestCase):
values2 = ctx.to_dict()
expected_values = {'auth_token': None,
'domain': None,
- 'instance_lock_checked': False,
'is_admin': False,
'is_admin_project': True,
'project_id': 222,