Skip to content

Commit 42444db

Browse files
author
Ghanshyam Mann
committed
Fix unit test for oslo.context 4.1.0
oslo.context 4.1.0 has removed the deprecated field 'tenant' and nova unit test fail as it still expect the 'tenant' field. Failure happening in requirements patch while updating the u-c - https://review.opendev.org/c/openstack/requirements/+/829599 - http://lists.openstack.org/pipermail/openstack-discuss/2022-February/027455.html Change-Id: Ia71505026bac121a5dba373c29c29c24f21fcde9
1 parent a72b744 commit 42444db

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

nova/tests/unit/test_context.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ def test_convert_from_rc_to_dict(self):
196196
'roles': [],
197197
'service_catalog': [],
198198
'show_deleted': False,
199-
'tenant': 222,
200199
'timestamp': '2015-03-02T22:31:56.641629',
201200
'user': 111,
202201
'user_domain': None,

0 commit comments

Comments
 (0)