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

Unified Diff: vpython/venv/venv_resources_test.go

Issue 2699223002: vpython: Add CIPD support. (Closed)
Patch Set: comments, path => name Created 3 years, 9 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/spec/spec_test.go ('k') | vpython/venv/venv_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/venv/venv_resources_test.go
diff --git a/vpython/venv/venv_resources_test.go b/vpython/venv/venv_resources_test.go
index 7bd991cde6f0457588194ffeea529d8ba8114ee4..9c26a9a3121e1b39d802aabbc70046172f8a61df 100644
--- a/vpython/venv/venv_resources_test.go
+++ b/vpython/venv/venv_resources_test.go
@@ -139,7 +139,7 @@ func (tl *testingLoader) Resolve(c context.Context, root string, packages []*vpy
func (tl *testingLoader) Ensure(c context.Context, root string, packages []*vpython.Spec_Package) error {
for _, pkg := range packages {
- if err := tl.installPackage(pkg.Path, root); err != nil {
+ if err := tl.installPackage(pkg.Name, root); err != nil {
return err
}
}
@@ -194,7 +194,7 @@ func (tl *testingLoader) buildWheelLocked(t *testing.T, py *python.Interpreter,
BaseDir: filepath.Join(outDir, ".env"),
Python: py.Python,
Package: vpython.Spec_Package{
- Path: "foo/bar/virtualenv",
+ Name: "foo/bar/virtualenv",
Version: "whatever",
},
Loader: tl,
« no previous file with comments | « vpython/spec/spec_test.go ('k') | vpython/venv/venv_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698