fix python santiy check error

reviewable/pr21215/r13
Yihua Zhang 5 years ago
parent e10d90ba27
commit f3d3466a40
  1. 3
      src/python/grpcio_tests/tests/unit/_auth_context_test.py

@ -103,7 +103,8 @@ class AuthContextTest(unittest.TestCase):
auth_data = pickle.loads(response) auth_data = pickle.loads(response)
self.assertIsNone(auth_data[_ID]) self.assertIsNone(auth_data[_ID])
self.assertIsNone(auth_data[_ID_KEY]) self.assertIsNone(auth_data[_ID_KEY])
self.assertDictEqual({ self.assertDictEqual(
{
'security_level': [b'TSI_PRIVACY_AND_INTEGRITY'], 'security_level': [b'TSI_PRIVACY_AND_INTEGRITY'],
'transport_security_type': [b'ssl'], 'transport_security_type': [b'ssl'],
'ssl_session_reused': [b'false'], 'ssl_session_reused': [b'false'],

Loading…
Cancel
Save