FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Adding tests for managed_vms/analytics. Fixes #180 by theacodes · Pull Request #350 · GoogleCloudPlatform/python-docs-samples · GitHub

Adding tests for managed_vms/analytics. Fixes #180 - #350

Merged
theacodes merged 1 commit into
masterfrom
analytics-tests
May 16, 2016
Merged

Adding tests for managed_vms/analytics. Fixes #180#350
theacodes merged 1 commit into
masterfrom
analytics-tests

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 16, 2016
Comment thread managed_vms/analytics/main_test.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I assume this has something to do with monkeypathcing>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

yar, follows the same pattern at managed_vms/mailjet/main_test.py. Basically you can't import main until the env vars are patched. This is actually a common pattern in test fixtures - hide how the actual object constructed from the tests.

Change-Id: I8f049927e81f6786d1221a867539b64a2e5245db

waprin commented May 16, 2016

Copy link
Copy Markdown
Contributor

lgtm

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL