forked from pool/python-google-api-core
20 lines
654 B
Diff
20 lines
654 B
Diff
|
From a8065793e7118c47fc71edc4c02447ef4b665209 Mon Sep 17 00:00:00 2001
|
||
|
From: Anthonios Partheniou <partheniou@google.com>
|
||
|
Date: Fri, 29 Apr 2022 13:28:02 -0400
|
||
|
Subject: [PATCH] test: fix KeyError in test_rest_streaming.py
|
||
|
|
||
|
---
|
||
|
tests/unit/test_rest_streaming.py | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
--- a/tests/unit/test_rest_streaming.py
|
||
|
+++ b/tests/unit/test_rest_streaming.py
|
||
|
@@ -28,6 +28,7 @@ from google.protobuf import duration_pb2
|
||
|
from google.protobuf import timestamp_pb2
|
||
|
|
||
|
|
||
|
+__protobuf__ = proto.module(package=__name__)
|
||
|
SEED = int(time.time())
|
||
|
logging.info(f"Starting rest streaming tests with random seed: {SEED}")
|
||
|
random.seed(SEED)
|