Fix some typos in the explanatory notes

This patch changes 'defiend' to 'defined'
in the explanatory notes in octavia/
tests/functional/db/test_repositories.py

Change-Id: Ibb7f0f416a013b98edf72a5803aada71015cfade
changes/53/735053/2
zhaoleilc 2 years ago
parent aee9cd6fe4
commit 76616f35e7
  1. 10
      octavia/tests/functional/db/test_repositories.py

@ -190,7 +190,7 @@ class AllRepositoriesTest(base.OctaviaDBTestBase):
pool_dm = self.repos.create_pool_on_load_balancer(
self.session, pool, listener_id=self.listener.id)
pool_dm_dict = pool_dm.to_dict()
# These are not defiend in the sample pool dict but will
# These are not defined in the sample pool dict but will
# be in the live data.
del pool_dm_dict['members']
del pool_dm_dict['health_monitor']
@ -230,7 +230,7 @@ class AllRepositoriesTest(base.OctaviaDBTestBase):
pool_dm = self.repos.create_pool_on_load_balancer(
self.session, pool, listener_id=self.listener.id)
pool_dm_dict = pool_dm.to_dict()
# These are not defiend in the sample pool dict but will
# These are not defined in the sample pool dict but will
# be in the live data.
del pool_dm_dict['members']
del pool_dm_dict['health_monitor']
@ -272,7 +272,7 @@ class AllRepositoriesTest(base.OctaviaDBTestBase):
new_pool_dm = self.repos.update_pool_and_sp(
self.session, pool_dm.id, update_pool)
pool_dm_dict = new_pool_dm.to_dict()
# These are not defiend in the sample pool dict but will
# These are not defined in the sample pool dict but will
# be in the live data.
del pool_dm_dict['members']
del pool_dm_dict['health_monitor']
@ -316,7 +316,7 @@ class AllRepositoriesTest(base.OctaviaDBTestBase):
new_pool_dm = self.repos.update_pool_and_sp(
self.session, pool_dm.id, update_pool)
pool_dm_dict = new_pool_dm.to_dict()
# These are not defiend in the sample pool dict but will
# These are not defined in the sample pool dict but will
# be in the live data.
del pool_dm_dict['members']
del pool_dm_dict['health_monitor']
@ -413,7 +413,7 @@ class AllRepositoriesTest(base.OctaviaDBTestBase):
new_pool_dm = self.repos.update_pool_and_sp(
self.session, pool_dm.id, update_pool)
pool_dm_dict = new_pool_dm.to_dict()
# These are not defiend in the sample pool dict but will
# These are not defined in the sample pool dict but will
# be in the live data.
del pool_dm_dict['members']
del pool_dm_dict['health_monitor']

Loading…
Cancel
Save