From 40865891f31077b1a4e9d5d833b0f207a2cebc15 Mon Sep 17 00:00:00 2001 From: Aleksandr Rykalin Date: Thu, 14 Nov 2019 23:00:45 +0300 Subject: [PATCH] change ip in test --- library/venafi_certificate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/venafi_certificate.py b/library/venafi_certificate.py index 35d9d8f..ac1b60e 100644 --- a/library/venafi_certificate.py +++ b/library/venafi_certificate.py @@ -481,8 +481,8 @@ def _check_certificate_validity(self, cert): self.changed_message.append("IP addresses in request: %s and in " "certificate: %s are different" % (sorted(self.ip_addresses), ips)) - # return False - print("test") + self.changed_message.append("CN is %s" % cn) + return False expected_dns = self.san_dns.append(cn) if expected_dns and sorted(expected_dns) != sorted(dns): self.changed_message.append("DNS addresses in request and in "