From 7f3aafe6a416212ca24900223a7b60ccd8801fb6 Mon Sep 17 00:00:00 2001 From: Sham Date: Thu, 1 Jul 2021 00:31:17 -0700 Subject: [PATCH] added tests for both non-confirming notes as well as empty notes in existing monitors --- tests/test_octodns_provider_ns1.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/test_octodns_provider_ns1.py b/tests/test_octodns_provider_ns1.py index df517a2..e21fe0d 100644 --- a/tests/test_octodns_provider_ns1.py +++ b/tests/test_octodns_provider_ns1.py @@ -659,6 +659,18 @@ class TestNs1ProviderDynamic(TestCase): }, 'four': monitor_four, 'five': monitor_five, + 'six': { + 'config': { + 'host': '10.10.10.10', + }, + 'notes': 'non-conforming notes', + }, + 'seven': { + 'config': { + 'host': '11.11.11.11', + }, + 'notes': None, + }, } # Would match, but won't get there b/c it's not dynamic