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 mock.patch.dict to patch environment #29

Merged
merged 1 commit into from
Sep 22, 2015

Conversation

chriskuehl
Copy link
Contributor

No description provided.

@chriskuehl chriskuehl force-pushed the mock-all-the-things branch 2 times, most recently from 71eb08a to 16808ac Compare September 22, 2015 21:14
@asottile
Copy link
Contributor

no module named mock needs more mock

&& pip install pytest \
&& pip install --upgrade pip \
&& /usr/local/bin/pip install --upgrade setuptools distribute \
&& /usr/local/bin/pip install -r requirements-dev.txt \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the only way I can get mock to install on an ubuntu:lucid Docker (ancient pip, setuptools, etc.)

I know it looks really hacky, but I tried everything else :\

asottile added a commit that referenced this pull request Sep 22, 2015
Use mock.patch.dict to patch environment
@asottile asottile merged commit f3aa9cc into Yelp:master Sep 22, 2015
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