• Home
  • Raw
  • Download

Lines Matching +full:pytest +full:- +full:find +full:- +full:dependencies

7 #      http://www.apache.org/licenses/LICENSE-2.0
42 GAE_APP_URL_TMPL = "https://{}-dot-{}.appspot.com"
43 GAE_TEST_APP_SERVICE = "google-auth-system-tests"
46 CLOUD_SDK_DIST_FILENAME = "google-cloud-sdk.tar.gz"
67 CLOUD_SDK_INSTALL_DIR = CLOUD_SDK_ROOT.join("google-cloud-sdk")
73 # where to find 2 when we're running in a 3 environment.
89 # This set the $PATH for the subprocesses so they can find the gcloud
97 session.run(GCLOUD, "components", "update", "-q")
103 session.run("wget", CLOUD_SDK_DOWNLOAD_URL, "-O", str(tar_path), silent=True)
106 session.run("tar", "xzf", str(tar_path), "-C", str(CLOUD_SDK_ROOT))
112 "--usage-reporting",
114 "--path-update",
116 "--command-completion",
145 GCLOUD, "auth", "activate-service-account", "--key-file", SERVICE_ACCOUNT_FILE
149 session.run(GCLOUD, "config", "set", "project", "example-project")
156 # also considers the credentials valid by calling application-default
157 # print-access-token
165 GCLOUD, "auth", "application-default", "print-access-token", silent=True
171 TEST_DEPENDENCIES_ASYNC = ["aiohttp", "pytest-asyncio", "nest-asyncio"]
172 TEST_DEPENDENCIES_SYNC = ["pytest", "requests", "mock"]
181 sponge_log = f"--junitxml=system_{str(session._runner.friendly_name)}_sponge_log.xml"
183 "pytest", sponge_log, *test_paths,
227 session.env[EXPLICIT_PROJECT_ENV] = "example-project"
303 ["gcloud", "config", "list", "project", "--format", "value(core.project)"]
305 .decode("utf-8")
316 # Vendor in the test application's dependencies
320 "pip", "install", "--target", "lib", "-r", "requirements.txt", silent=True
324 session.run("gcloud", "app", "deploy", "-q", "app.yaml")
337 session.install(*TEST_DEPENDENCIES_SYNC, "google-cloud-pubsub==1.7.0")
387 "google-api-python-client",
401 "google-cloud-storage",
452 session.env[EXPLICIT_PROJECT_ENV] = "example-project"