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