Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Merge python3 pull requests, add tests for python3 #35

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

arkka and others added 14 commits July 29, 2016 15:45
I have this simple update to get my script working with Python 3. 
Can anyone clarify this?
Added six and __future__ imports to better compatibility between
python2 and python3 environments.
Remove the excessive need of six functions that are not really needed.
Fixed up the auth tests.
Fixed the base64.v64encode to return a string and not bytes objects.
Added mock lib for Python2 and reverted the os.envion.get to remove the
default kwarg that is not in Python2.
Made the code a little cleaner and easier to read.
…test as well. All tests pass in both Python2 and Python3 environments.
# Conflicts:
#	dockercloud/api/auth.py
#	dockercloud/api/http.py
# Conflicts:
#	tests/test_action.py
#	tests/test_auth.py
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants