From bbf55d6da554735ff3d4bf052261f6e4e91b028a Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Wed, 16 Oct 2019 17:11:43 -0700 Subject: [PATCH] PYTHON-2039 Avoid shadowing dns module in srv tests --- test/{dns => srv_seedlist}/longer-parent-in-return.json | 0 test/{dns => srv_seedlist}/misformatted-option.json | 0 test/{dns => srv_seedlist}/no-results.json | 0 test/{dns => srv_seedlist}/not-enough-parts.json | 0 test/{dns => srv_seedlist}/one-result-default-port.json | 0 test/{dns => srv_seedlist}/one-txt-record-multiple-strings.json | 0 test/{dns => srv_seedlist}/one-txt-record.json | 0 test/{dns => srv_seedlist}/parent-part-mismatch1.json | 0 test/{dns => srv_seedlist}/parent-part-mismatch2.json | 0 test/{dns => srv_seedlist}/parent-part-mismatch3.json | 0 test/{dns => srv_seedlist}/parent-part-mismatch4.json | 0 test/{dns => srv_seedlist}/parent-part-mismatch5.json | 0 test/{dns => srv_seedlist}/returned-parent-too-short.json | 0 test/{dns => srv_seedlist}/returned-parent-wrong.json | 0 test/{dns => srv_seedlist}/two-results-default-port.json | 0 test/{dns => srv_seedlist}/two-results-nonstandard-port.json | 0 test/{dns => srv_seedlist}/two-txt-records.json | 0 .../txt-record-with-overridden-uri-option.json | 0 .../{dns => srv_seedlist}/txt-record-with-unallowed-option.json | 0 test/{dns => srv_seedlist}/uri-with-port.json | 0 test/{dns => srv_seedlist}/uri-with-two-hosts.json | 0 test/test_dns.py | 2 +- 22 files changed, 1 insertion(+), 1 deletion(-) rename test/{dns => srv_seedlist}/longer-parent-in-return.json (100%) rename test/{dns => srv_seedlist}/misformatted-option.json (100%) rename test/{dns => srv_seedlist}/no-results.json (100%) rename test/{dns => srv_seedlist}/not-enough-parts.json (100%) rename test/{dns => srv_seedlist}/one-result-default-port.json (100%) rename test/{dns => srv_seedlist}/one-txt-record-multiple-strings.json (100%) rename test/{dns => srv_seedlist}/one-txt-record.json (100%) rename test/{dns => srv_seedlist}/parent-part-mismatch1.json (100%) rename test/{dns => srv_seedlist}/parent-part-mismatch2.json (100%) rename test/{dns => srv_seedlist}/parent-part-mismatch3.json (100%) rename test/{dns => srv_seedlist}/parent-part-mismatch4.json (100%) rename test/{dns => srv_seedlist}/parent-part-mismatch5.json (100%) rename test/{dns => srv_seedlist}/returned-parent-too-short.json (100%) rename test/{dns => srv_seedlist}/returned-parent-wrong.json (100%) rename test/{dns => srv_seedlist}/two-results-default-port.json (100%) rename test/{dns => srv_seedlist}/two-results-nonstandard-port.json (100%) rename test/{dns => srv_seedlist}/two-txt-records.json (100%) rename test/{dns => srv_seedlist}/txt-record-with-overridden-uri-option.json (100%) rename test/{dns => srv_seedlist}/txt-record-with-unallowed-option.json (100%) rename test/{dns => srv_seedlist}/uri-with-port.json (100%) rename test/{dns => srv_seedlist}/uri-with-two-hosts.json (100%) diff --git a/test/dns/longer-parent-in-return.json b/test/srv_seedlist/longer-parent-in-return.json similarity index 100% rename from test/dns/longer-parent-in-return.json rename to test/srv_seedlist/longer-parent-in-return.json diff --git a/test/dns/misformatted-option.json b/test/srv_seedlist/misformatted-option.json similarity index 100% rename from test/dns/misformatted-option.json rename to test/srv_seedlist/misformatted-option.json diff --git a/test/dns/no-results.json b/test/srv_seedlist/no-results.json similarity index 100% rename from test/dns/no-results.json rename to test/srv_seedlist/no-results.json diff --git a/test/dns/not-enough-parts.json b/test/srv_seedlist/not-enough-parts.json similarity index 100% rename from test/dns/not-enough-parts.json rename to test/srv_seedlist/not-enough-parts.json diff --git a/test/dns/one-result-default-port.json b/test/srv_seedlist/one-result-default-port.json similarity index 100% rename from test/dns/one-result-default-port.json rename to test/srv_seedlist/one-result-default-port.json diff --git a/test/dns/one-txt-record-multiple-strings.json b/test/srv_seedlist/one-txt-record-multiple-strings.json similarity index 100% rename from test/dns/one-txt-record-multiple-strings.json rename to test/srv_seedlist/one-txt-record-multiple-strings.json diff --git a/test/dns/one-txt-record.json b/test/srv_seedlist/one-txt-record.json similarity index 100% rename from test/dns/one-txt-record.json rename to test/srv_seedlist/one-txt-record.json diff --git a/test/dns/parent-part-mismatch1.json b/test/srv_seedlist/parent-part-mismatch1.json similarity index 100% rename from test/dns/parent-part-mismatch1.json rename to test/srv_seedlist/parent-part-mismatch1.json diff --git a/test/dns/parent-part-mismatch2.json b/test/srv_seedlist/parent-part-mismatch2.json similarity index 100% rename from test/dns/parent-part-mismatch2.json rename to test/srv_seedlist/parent-part-mismatch2.json diff --git a/test/dns/parent-part-mismatch3.json b/test/srv_seedlist/parent-part-mismatch3.json similarity index 100% rename from test/dns/parent-part-mismatch3.json rename to test/srv_seedlist/parent-part-mismatch3.json diff --git a/test/dns/parent-part-mismatch4.json b/test/srv_seedlist/parent-part-mismatch4.json similarity index 100% rename from test/dns/parent-part-mismatch4.json rename to test/srv_seedlist/parent-part-mismatch4.json diff --git a/test/dns/parent-part-mismatch5.json b/test/srv_seedlist/parent-part-mismatch5.json similarity index 100% rename from test/dns/parent-part-mismatch5.json rename to test/srv_seedlist/parent-part-mismatch5.json diff --git a/test/dns/returned-parent-too-short.json b/test/srv_seedlist/returned-parent-too-short.json similarity index 100% rename from test/dns/returned-parent-too-short.json rename to test/srv_seedlist/returned-parent-too-short.json diff --git a/test/dns/returned-parent-wrong.json b/test/srv_seedlist/returned-parent-wrong.json similarity index 100% rename from test/dns/returned-parent-wrong.json rename to test/srv_seedlist/returned-parent-wrong.json diff --git a/test/dns/two-results-default-port.json b/test/srv_seedlist/two-results-default-port.json similarity index 100% rename from test/dns/two-results-default-port.json rename to test/srv_seedlist/two-results-default-port.json diff --git a/test/dns/two-results-nonstandard-port.json b/test/srv_seedlist/two-results-nonstandard-port.json similarity index 100% rename from test/dns/two-results-nonstandard-port.json rename to test/srv_seedlist/two-results-nonstandard-port.json diff --git a/test/dns/two-txt-records.json b/test/srv_seedlist/two-txt-records.json similarity index 100% rename from test/dns/two-txt-records.json rename to test/srv_seedlist/two-txt-records.json diff --git a/test/dns/txt-record-with-overridden-uri-option.json b/test/srv_seedlist/txt-record-with-overridden-uri-option.json similarity index 100% rename from test/dns/txt-record-with-overridden-uri-option.json rename to test/srv_seedlist/txt-record-with-overridden-uri-option.json diff --git a/test/dns/txt-record-with-unallowed-option.json b/test/srv_seedlist/txt-record-with-unallowed-option.json similarity index 100% rename from test/dns/txt-record-with-unallowed-option.json rename to test/srv_seedlist/txt-record-with-unallowed-option.json diff --git a/test/dns/uri-with-port.json b/test/srv_seedlist/uri-with-port.json similarity index 100% rename from test/dns/uri-with-port.json rename to test/srv_seedlist/uri-with-port.json diff --git a/test/dns/uri-with-two-hosts.json b/test/srv_seedlist/uri-with-two-hosts.json similarity index 100% rename from test/dns/uri-with-two-hosts.json rename to test/srv_seedlist/uri-with-two-hosts.json diff --git a/test/test_dns.py b/test/test_dns.py index 600ddcbcd..be972fa35 100644 --- a/test/test_dns.py +++ b/test/test_dns.py @@ -31,7 +31,7 @@ from test.utils import wait_until _TEST_PATH = os.path.join( - os.path.dirname(os.path.realpath(__file__)), 'dns') + os.path.dirname(os.path.realpath(__file__)), 'srv_seedlist') class TestDNS(unittest.TestCase): pass