Skip to content

Update the Python 3 PR#33

Merged
Luis Armendariz (openx-luis) merged 5 commits into
openx:developfrom
flaker:update_python_3_pr
Jun 19, 2017
Merged

Update the Python 3 PR#33
Luis Armendariz (openx-luis) merged 5 commits into
openx:developfrom
flaker:update_python_3_pr

Conversation

@flaker

Copy link
Copy Markdown
Contributor

@flaker

Federico Delgado Doyle (flaker) commented Jun 19, 2017

Copy link
Copy Markdown
Contributor Author

I could not override the mock for test_delete. All the tests are sharing the same mocks, client, etc which makes things a bit more difficult. Refactoring them allowing each test to change the mocks with no side effects would be nice. Also I removed some tests that were not real tests (just a 'pass')

This PR was tested under Python 2.7.13 and 3.6.1 with the following list of pkgs:

$ pip freeze
certifi==2017.4.17
chardet==3.0.4
idna==2.5
mock==2.0.0
oauthlib==2.0.2
pbr==3.0.1
requests==2.18.1
requests-oauthlib==0.8.0
six==1.10.0
urllib3==1.21.1

@flaker

Copy link
Copy Markdown
Contributor Author

Removed the shared state between tests.

Federico Delgado added 3 commits June 19, 2017 11:09
- Updated instructions to run tests
- Updated versioning information
@openx-luis

Copy link
Copy Markdown
Contributor

Looks good now.

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.

2 participants