Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

namespace conflict with mock #24

Closed
brad opened this issue Feb 8, 2013 · 2 comments · Fixed by #26
Closed

namespace conflict with mock #24

brad opened this issue Feb 8, 2013 · 2 comments · Fixed by #26

Comments

@brad
Copy link
Contributor

brad commented Feb 8, 2013

This isn't a problem with django-drip==0.1.3, only with the latest source.
Steps to reproduce:

$ mkvirtualenv testpip
$ pip install mock -e \
git+https://github.com/zapier/django-drip.git#egg=django-drip
$ python
>>> from mock import patch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name patch
@brad
Copy link
Contributor Author

brad commented Feb 8, 2013

Ahh, I see. It must be that top-level mock directory. It would probably be better to move that into drip right?

@brad
Copy link
Contributor Author

brad commented Feb 13, 2013

This has been merged in to master.

@brad brad closed this as completed Feb 13, 2013
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 a pull request may close this issue.

1 participant