Fix unit test broken by dependency bump

Change-Id: I80d105af00735bb2a4f2a52e13e772bad3bd8ace
This commit is contained in:
Pierre Riteau 2024-01-27 08:41:15 +01:00
parent b0dbd0a929
commit 807ebb013c
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class ContextTestCase(tests.TestCase):
'X-Project-Name': 'project_name',
'X-Project-Domain-Name': 'project_domain_name',
'X-Roles': 'user_name0, user_name1'}
self.catalog = jsonutils.dump_as_bytes({'nova': 'catalog'})
self.catalog = jsonutils.dumps({'nova': 'catalog'})
def test_ctx_from_headers_no_catalog(self):
self.assertRaises(