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

Use url-safe base64 when encoding auth header #806

Merged
merged 1 commit into from
Oct 9, 2015
Merged

Conversation

shin-
Copy link
Contributor

@shin- shin- commented Oct 9, 2015

Fixes #803

@shin- shin- self-assigned this Oct 9, 2015
@shin- shin- added this to the 1.5.0 milestone Oct 9, 2015
if six.PY2 and sys.version_info[1] <= 6:
return self.assertTrue(object not in collection)
return super(BaseTestCase, self).assertNotIn(object, collection)

Copy link
Contributor

Choose a reason for hiding this comment

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

Now that the tests use py.test, you could just use assert x not in y and get a really nice error message when it fails! (instead of having this wrapper)

@dnephin
Copy link
Contributor

dnephin commented Oct 9, 2015

some CI failures, otherwise looks good

+ regression test

Signed-off-by: Joffrey F <joffrey@docker.com>
shin- added a commit that referenced this pull request Oct 9, 2015
Use url-safe base64 when encoding auth header
@shin- shin- merged commit 16247df into master Oct 9, 2015
@shin- shin- deleted the 803-urlsafe-b64 branch November 12, 2015 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants