Fix incorrect dict member lookup

Lookup by 'id' was missing quotes
causing sporadic functional test
failures - sporadic because the test
gets into this code section only when
it runs in parallel to some migration
tests.

Change-Id: Iadce9d910370246f83f56f27039d9f5585642fbc
Related-Bug: #1821945
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
Goutham Pacha Ravi 2021-08-23 22:32:35 -07:00
parent 823f90c5c6
commit 2fc21c3e0c
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class SharesListReadWriteTest(base.BaseTestCase):
# elapsed between the 'list' and 'get' requests.
# If this isn't one of the shares created in
# this class, don't worry about such mismatches
self.assertNotIn(share_get[id],
self.assertNotIn(share_get['id'],
self.shares_created)
continue