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

Unified Diff: vpython/python/python_test.go

Issue 2905943002: [vpython] Incorporate interpreter path/hash. (Closed)
Patch Set: Created 3 years, 7 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 | « vpython/python/interpreter.go ('k') | vpython/spec/spec.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/python/python_test.go
diff --git a/vpython/python/python_test.go b/vpython/python/python_test.go
index 4161ad10f695d39bf7ca287feb283f9e1a9bf699..695010914496c8b89924787038ed8b9d65513890 100644
--- a/vpython/python/python_test.go
+++ b/vpython/python/python_test.go
@@ -123,6 +123,14 @@ func TestInterpreter(t *testing.T) {
Python: self,
}
+ Convey(`Testing hash`, func() {
+ hash, err := i.Hash()
+ So(err, ShouldBeNil)
+ So(hash, ShouldNotEqual, "")
+
+ t.Logf("Calculated interpreter hash: %s", hash)
+ })
+
Convey(`Testing IsolatedCommand`, func() {
cmd := i.IsolatedCommand(c, "foo", "bar")
So(cmd.Args, ShouldResemble, []string{self, "-B", "-E", "-s", "foo", "bar"})
« no previous file with comments | « vpython/python/interpreter.go ('k') | vpython/spec/spec.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698