<s> import requests <EOL> import unittest <EOL> from requests_toolbelt . adapters . fingerprint import FingerprintAdapter <EOL> from . import get_betamax <EOL> class TestFingerprintAdapter ( unittest . TestCase ) : <EOL> HTTP2BIN_FINGERPRINT = '<STR_LIT>' <EOL> def setUp ( self ) : <EOL> self . session = requests . Session ( ) <EOL> self . session . mount ( '<STR_LIT>' , FingerprintAdapter ( self . HTTP2BIN_FINGERPRINT ) ) <EOL> self . recorder = get_betamax ( self . session ) <EOL> def test_fingerprint ( self ) : <EOL> with self . recorder . use_cassette ( '<STR_LIT>' ) : <EOL> r = self . session . get ( '<STR_LIT>' ) <EOL> assert r . status_code == <NUM_LIT:200> </s>
