Megamock

Latest version: v0.1.0b11

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.1.0alpha.6

What's Changed
* 7 Add async support by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/35
* 5 Add `UseRealLogic` by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/36
* 32 improve typing by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/39
* 31 attr assignments doc and readme improvements by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/40
* 34 38 refactor for `megamock` attribute by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/41
* Improve typing and UseRealLogic by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/42
* Add more tests and update readme to reflect preferred usage by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/44
* Fix return value assignment by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/45
* 37 Add first draft of guidance, improve typing by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/46
* Add `Mega` object, more type improvements, refactors by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/47
* If pytest-mock is installed, use that by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/51
* 37 more guidance and code refactoring by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/52
* Readme improvements by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/53
* cut new version by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/54


**Full Changelog**: https://github.com/JamesHutchison/megamock/compare/v0.1.0-alpha.5...v0.1.0-alpha.6

0.1.0alpha.5

What's Changed
* 4 Add `spy` argument by JamesHutchison in https://github.com/JamesHutchison/megamock/pull/33


**Full Changelog**: https://github.com/JamesHutchison/megamock/compare/v0.1.0-alpha.4...v0.1.0-alpha.5

0.1.0alpha.4

This adds a new feature, tracking of mock assignments. You can see when things were assigned and the stacktrace of where it was assigned. This can be found in `MegaMock` objects under the `megamock_attr_assignments` attribute. This is a dictionary where each key is the attribute in question, and the value is a list of `AttributeAssignment` objects.

Support for `wraps` was added. This is for drop-in compatibility with existing Mock logic and makes no improvements. `spy` will be the improved version.

0.1.0alpha.3

Add `pytest` plugin

0.1.0alpha.2

First release (alpha status)

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.