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:
parent
823f90c5c6
commit
2fc21c3e0c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue