Lines Matching refs:_helpers
18 from oauth2client import _helpers
25 result = _helpers._parse_pem_key(test_string)
30 result = _helpers._parse_pem_key(test_string)
40 result = _helpers._json_encode(data)
45 result = _helpers._json_encode(data)
53 self.assertEqual(_helpers._to_bytes(value), value)
58 self.assertEqual(_helpers._to_bytes(value), encoded_value)
63 _helpers._to_bytes(value)
70 self.assertEqual(_helpers._from_bytes(value), value)
75 self.assertEqual(_helpers._from_bytes(value), decoded_value)
80 _helpers._from_bytes(value)
89 result = _helpers._urlsafe_b64encode(test_string)
94 result = _helpers._urlsafe_b64encode(test_string)
102 result = _helpers._urlsafe_b64decode(test_string)
107 result = _helpers._urlsafe_b64decode(test_string)
114 _helpers._urlsafe_b64decode(bad_string)