-
Notifications
You must be signed in to change notification settings - Fork 92
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
Remove dependency on mox3 #182
Comments
I made a first version (mostly re-doing the previous changes) in https://github.com/mrbean-bremen/pyfakefs/tree/use-mock. |
I was just thinking this would need its own issue. As I recall, the example I gave in mock issue 250 is not an issue for pyfakefs. I believe I gave that example merely because it used a public file familiar to the As I recall (and as described in mock issue 250), the problem with After I added my fabulous (to me, at least) port to Since If you are looking for glory, fix |
Ok, using the stubber from mox3 sounds reasonable, if the mock problem is what you describe. I'm not from the stuff heroes are made of, so I think I will leave mock alone for the time being, and go the easy way. This may take some time, though... |
This is a fairly slow moving event, so that is fine. My impression is that the only files you need are |
Ok, thanks - I may check this tomorrow, if I find the time. |
Ok - the stubout part that we need turned out to be surprisingly small and simple, and, other than the whole mox3, does not have any additional dependencies. I copied it over into pyfakes (will make a PR in a minute), and it works as expected. |
I suggest leaving the A few tests that simulate |
Ok, thanks - I will do this another day with a clear head. |
I added a few tests - please check if this is sufficient. |
Fixed per #183. |
See discussion in #179 - mox3 support is dropped by OpenStack as stated by @dmsimard, and mock is included in unittest since Python 3.3.
We may have a second go at this replacement (see #48 for the first try).
The text was updated successfully, but these errors were encountered: