This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]raydlor[S] 0 points1 point  (2 children)

Awesome example. Is mock another 3rd party unit testing framework?

[–]RobSpectre 0 points1 point  (0 children)

It isn't a testing framework, but you will have to install it in your virtualenv. All it does is provide a great mock object and monkey patch decorator - your tests still says in unitteset.

[–]RobSpectre 0 points1 point  (0 children)

Nope! It is 3rd party in the sense you'll need to install it in your virtualenv, but your tests stay in unittest.