Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Unified Diff: recipe_engine/unittests/stream_test.py

Issue 2265673002: Add LogDog / annotation protobuf support. (Closed) Base URL: https://github.com/luci/recipes-py@step-formal-struct
Patch Set: Stronger flush meta logic, moar test. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_engine/unittests/stream_logdog_test.py ('k') | recipe_engine/unittests/util_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/unittests/stream_test.py
diff --git a/recipe_engine/unittests/stream_test.py b/recipe_engine/unittests/stream_test.py
index e81136346c89c8c64a920dbce962d44555d23874..2e66fc8bfd4af7d7c94b20a86fc1861f520ec1b2 100755
--- a/recipe_engine/unittests/stream_test.py
+++ b/recipe_engine/unittests/stream_test.py
@@ -120,8 +120,7 @@ bar tries to kiss foo, but foo already left
def test_product_with_invariants_on_example(self):
stringio = cStringIO.StringIO()
- engine = stream.ProductStreamEngine(
- stream.StreamEngineInvariants(),
+ engine = stream.StreamEngineInvariants.wrap(
stream.AnnotatorStreamEngine(
stringio, emit_timestamps=True, time_fn=self.fake_time))
with engine:
« no previous file with comments | « recipe_engine/unittests/stream_logdog_test.py ('k') | recipe_engine/unittests/util_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698