def tearDownClass(cls):
cls.tearDownRecursor()
-class testNoECS(ECSTest):
+class NoECSTest(ECSTest):
_confdir = 'NoECS'
_config_template = """edns-subnet-allow-list=
query = dns.message.make_query(nameECS, 'TXT', 'IN', use_edns=True, options=[ecso], payload=512)
self.sendECSQuery(query, expected)
-class testECSByNameLarger(ECSTest):
+class ECSByNameLargerTest(ECSTest):
_confdir = 'ECSByNameLarger'
_config_template = """edns-subnet-allow-list=ecs-echo.example.
""" % (os.environ['PREFIX'])
@unittest.skipIf(not have_ipv6(), "No IPv6")
-class testIncomingECSByNameV6(ECSTest):
+class IncomingECSByNameV6Test(ECSTest):
_confdir = 'ECSIncomingByNameV6'
_config_template = """edns-subnet-allow-list=ecs-echo.example.
@classmethod
def generateRecursorConfig(cls, confdir):
- super(testTooLargeToAddZeroScope, cls).generateRecursorConfig(confdir)
+ super(TooLargeToAddZeroScopeTest, cls).generateRecursorConfig(confdir)
def testTooLarge(self):
qname = 'toolarge.ecs.'