Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage for 'gcloud._apitools.util' #1190

Merged
merged 1 commit into from
Oct 25, 2015
Merged

Coverage for 'gcloud._apitools.util' #1190

merged 1 commit into from
Oct 25, 2015

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Oct 19, 2015

Uses #1189 as a base.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 19, 2015
@dhermes
Copy link
Contributor

dhermes commented Oct 23, 2015

Why remove the # Some systems use a single '*' instead of '*/*'. part?

@dhermes
Copy link
Contributor

dhermes commented Oct 23, 2015

LMK when you've rebased after the merge

@tseaver
Copy link
Contributor Author

tseaver commented Oct 23, 2015

Why remove the # Some systems use a single '' instead of '/*'. part?

Because the calling function already raises an error if the pattern has no slash.

@tseaver
Copy link
Contributor Author

tseaver commented Oct 23, 2015

Rebased after merge of #1186.

@@ -78,9 +78,6 @@ def AcceptableMimeType(accept_patterns, mime_type):

def MimeTypeMatches(pattern, mime_type):
"""Return True iff mime_type is acceptable for pattern."""
# Some systems use a single '*' instead of '*/*'.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Oct 23, 2015

LGTM

I'll wait for the next rebase ping

tseaver added a commit that referenced this pull request Oct 25, 2015
@tseaver tseaver merged commit 1a78ec9 into googleapis:master Oct 25, 2015
@tseaver tseaver deleted the coverage-gcloud__apitools_util branch October 25, 2015 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: core 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