Attach tor_manager to request tor addresses

This commit is contained in:
shortcutme 2017-04-06 23:43:27 +02:00
parent 2f38f8d9f3
commit 8295f9cd6b
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ class TestBootstrapper:
def testRequestPeers(self, file_server, site, bootstrapper_db, tor_manager):
site.connection_server = file_server
site.connection_server.tor_manager = tor_manager
hash = hashlib.sha256(site.address).digest()
# Request peers from tracker