Fix "ttl" typos
Change-Id: I20b99ab09e8c8fb5246e4697b6b32eef54623425
diff --git a/designate_tempest_plugin/config.py b/designate_tempest_plugin/config.py
index 2144eb1..9b86945 100644
--- a/designate_tempest_plugin/config.py
+++ b/designate_tempest_plugin/config.py
@@ -42,7 +42,7 @@
help="Timeout in seconds to wait for an resource to build."),
cfg.IntOpt('min_ttl',
default=0,
- help="The minimum value to respect when generating ttls"),
+ help="The minimum value to respect when generating ttl"),
cfg.ListOpt('nameservers',
default=[],
help="The nameservers to check for change going live"),
diff --git a/designate_tempest_plugin/tests/api/v2/test_zones.py b/designate_tempest_plugin/tests/api/v2/test_zones.py
index d1c3a11..7740617 100644
--- a/designate_tempest_plugin/tests/api/v2/test_zones.py
+++ b/designate_tempest_plugin/tests/api/v2/test_zones.py
@@ -732,10 +732,10 @@
@decorators.idempotent_id('551853c0-8593-11eb-8c8a-74e5f9e2a801')
def test_no_valid_ttl(self):
- no_valid_tls = ['zahlabut', -60000,
+ no_valid_ttl = ['zahlabut', -60000,
2147483647 + 10] # Max valid TTL is 2147483647
- for ttl in no_valid_tls:
+ for ttl in no_valid_ttl:
LOG.info(
'Trying to create a zone using: {} as TTL'
' value: '.format(ttl))