def test_read_4_0_0_py27_credentials(self): filename = '%s/credential-4.0.0-py27.pickle' % utils.target with open(filename, 'rb') as f: credential = serializers.OAuth2Unpickler(f).load() self._verify_credential(credential)
def test_read_1_4_12_py27_sac_with_custom_unpickler(self): filename = '%s/service-acct-1.4.12-py27.pickle' % utils.target with open(filename, 'rb') as f: sac = serializers.OAuth2Unpickler(f).load() self._verify_sac(sac)
def test_read_4_0_0_py36_sac_with_custom_unpickler(self): filename = '%s/service-acct-4.0.0-py36.pickle' % utils.target with open(filename, 'rb') as f: sac = serializers.OAuth2Unpickler(f).load() self._verify_sac(sac)