feat(useDnsServer): correctif error pipeline - unit test name too long

This commit is contained in:
Florian VANDENBULCKE
2018-10-05 11:18:20 +02:00
parent 5d10455695
commit a35eb42604
+1 -1
View File
@@ -110,7 +110,7 @@ class MXTestCase(ModoTestCase):
@mock.patch("socket.getaddrinfo")
@mock.patch.object(dns.resolver.Resolver, "query")
def test_get_domain_mx_list_dsn_server(self, mock_query, mock_getaddrinfo):
def test_get_mx_list_dsn_server(self, mock_query, mock_getaddrinfo):
"""Test to get mx list from specific DNS server."""
mock_query.side_effect = utils.mock_dns_query_result
mock_getaddrinfo.side_effect = utils.mock_ip_query_result