Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@flaker
Copy link
Contributor

@flaker flaker commented Jun 19, 2017

@flaker
Copy link
Contributor Author

flaker commented Jun 19, 2017

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
Contributor Author

flaker commented Jun 19, 2017

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
Contributor

Looks good now.

@openx-luis openx-luis merged commit 47b7912 into openx:develop Jun 19, 2017
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.