Browse Source

(tests,fix) Use default socket code

main
Michal Charemza 5 years ago
parent
commit
85932cc642
No known key found for this signature in database GPG Key ID: 4BBAF0F6B73C4363
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test.py

+ 1
- 1
test.py View File

@@ -53,7 +53,7 @@ class TestProxy(unittest.TestCase):
async def test_e2e_default_port_match_all(self):
resolve, clear_cache = get_resolver(53)
self.add_async_cleanup(clear_cache)
start = DnsProxy(get_socket=get_socket(53), rules=((r'(^.*$)', r'\1'),))
start = DnsProxy(rules=((r'(^.*$)', r'\1'),))
stop = await start()
self.add_async_cleanup(stop)



Loading…
Cancel
Save