[tor-commits] [bridgedb/develop] Cleanup duplicated code in test/test_https.py.