(self)
| 287 | |
| 288 | @tests.util.retry_on_timeout |
| 289 | def testZoneForName1(self): |
| 290 | async def run(): |
| 291 | name = dns.name.from_text("www.dnspython.org.") |
| 292 | return await dns.asyncresolver.zone_for_name(name) |
| 293 | |
| 294 | ezname = dns.name.from_text("dnspython.org.") |
| 295 | zname = self.async_run(run) |
| 296 | self.assertEqual(zname, ezname) |
| 297 | |
| 298 | @tests.util.retry_on_timeout |
| 299 | def testZoneForName2(self): |