New issue
Advanced search Search tips

Issue 749522 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: ----



Sign in to add a comment

test.py should use a different virtualenv for AppEngine apps

Project Member Reported by serg...@chromium.org, Jul 27 2017

Issue description

Out test.py testing framework allows tests inside appengine apps to import modules from ENV. However, appcfg.py will not upload those modules to the server resulting in import errors that are only seen in production. We should rewrite test.py to use a virtualenv for appengine apps that simulates production environment.

I am not sure how dev_appserver.py works, but perhaps it uses some virtualenv that we can use too.
 
Example CL that fixes an import problem not detected by tests: http://crrev.com/c/589507.

Comment 2 by aga...@chromium.org, Jul 28 2017

Components: -Infra Infra>Client>Infra

Sign in to add a comment