From fb2b4ec82bd8ec1aaca5f0166e4cf975438c169f Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Tue, 14 Jan 2020 16:10:26 -0800 Subject: [PATCH] Add two more invalid metadata test cases --- src/python/grpcio_tests/tests_aio/unit/metadata_test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/python/grpcio_tests/tests_aio/unit/metadata_test.py b/src/python/grpcio_tests/tests_aio/unit/metadata_test.py index 8a4ecd2fec6..17a9d1a0ecf 100644 --- a/src/python/grpcio_tests/tests_aio/unit/metadata_test.py +++ b/src/python/grpcio_tests/tests_aio/unit/metadata_test.py @@ -58,6 +58,14 @@ _INVALID_METADATA_TEST_CASES = ( TypeError, (('normal', object()),), ), + ( + TypeError, + object(), + ), + ( + TypeError, + (object(),), + ), )