Merge pull request #6932 from adferrand/pylint-squash

Update Pylint to 1.9.4 (squashed PR)
This commit is contained in:
Brad Warren
2019-04-09 10:47:19 -07:00
committed by GitHub
104 changed files with 411 additions and 483 deletions
@@ -220,4 +220,3 @@ class _RFC2136Client(object):
except Exception as e:
raise errors.PluginError('Encountered error when making query: {0}'
.format(e))
@@ -171,7 +171,7 @@ class RFC2136ClientTest(unittest.TestCase):
result = self.rfc2136_client._query_soa(DOMAIN)
query_mock.assert_called_with(mock.ANY, SERVER, port=PORT)
self.assertTrue(result == True)
self.assertTrue(result)
@mock.patch("dns.query.udp")
def test_query_soa_not_found(self, query_mock):
@@ -181,7 +181,7 @@ class RFC2136ClientTest(unittest.TestCase):
result = self.rfc2136_client._query_soa(DOMAIN)
query_mock.assert_called_with(mock.ANY, SERVER, port=PORT)
self.assertTrue(result == False)
self.assertFalse(result)
@mock.patch("dns.query.udp")
def test_query_soa_wraps_errors(self, query_mock):