From 7e1f8a90d2fd18a5169cea04b6bb53dd9288092e Mon Sep 17 00:00:00 2001 From: Miroslav Los Date: Fri, 15 Nov 2019 09:20:09 +0100 Subject: Fix minor issues revealed by pylint Remove superfluous argument to str.format in dmaap. Fix two tests with the same name in dnsdesig. Raise a proper exception instead of bool in helm. Signed-off-by: Miroslav Los Issue-ID: CCSDK-1928 Change-Id: I07ff9eaa3b25a4c7864eda2b6189d7357c887dd4 --- dnsdesig/tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dnsdesig/tests/test_plugin.py') diff --git a/dnsdesig/tests/test_plugin.py b/dnsdesig/tests/test_plugin.py index d2b9174..78b3483 100644 --- a/dnsdesig/tests/test_plugin.py +++ b/dnsdesig/tests/test_plugin.py @@ -372,7 +372,7 @@ def test_dns_delcname(): dnsdesig.dns_plugin.cnamenotneeded() @_setup(_goodos, 'noservice.x.example.com') -def test_dns_delcname(): +def test_dns_delbadcname(): with pytest.raises(RecoverableError): dnsdesig.dns_plugin.cnamenotneeded() -- cgit 1.2.3-korg