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

Unified Diff: third_party/typ/typ/fakes/tests/host_fake_test.py

Issue 660133004: Roll typ to v0.8.5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « third_party/typ/typ/fakes/host_fake.py ('k') | third_party/typ/typ/host.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/typ/typ/fakes/tests/host_fake_test.py
diff --git a/third_party/typ/typ/fakes/tests/host_fake_test.py b/third_party/typ/typ/fakes/tests/host_fake_test.py
index 02f74e76b3eb6b2fa4fd681fa0cfcad6a9789110..a16b7ba1f544c5cfd4b40566659443735b6a43b3 100644
--- a/third_party/typ/typ/fakes/tests/host_fake_test.py
+++ b/third_party/typ/typ/fakes/tests/host_fake_test.py
@@ -43,6 +43,11 @@ class TestFakeHost(host_test.TestHost):
self.assertEqual(err, '')
self.assertEqual(h.cmds, [['echo', 'hello, world']])
+ def test_call_inline(self):
+ h = self.host()
+ ret = h.call_inline(['echo', 'hello, world'])
+ self.assertEqual(ret, 0)
+
def test_capture_output(self):
h = self.host()
self.host = lambda: h
« no previous file with comments | « third_party/typ/typ/fakes/host_fake.py ('k') | third_party/typ/typ/host.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698