Created
March 1, 2018 12:16
-
-
Save jakubczaplicki/45cb2c430c2a2f941c0ec374bb23b867 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mock.patch('aiodns.DNSResolver.query') | |
def test_resolve_fqdn_to_cname(self, query): | |
f = asyncio.Future() | |
f.set_result(("dummy_cname", "ttl")) | |
query.return_value = f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment