Skip to content

Add mock library to testing page#197

Merged
kennethreitz merged 2 commits into
realpython:masterfrom
mindsocket:master
Sep 23, 2012
Merged

Add mock library to testing page#197
kennethreitz merged 2 commits into
realpython:masterfrom
mindsocket:master

Conversation

@mindsocket
Copy link
Copy Markdown
Contributor

Just an intro paragraph similar to the other testing tools that mentions the mock library.

@sigmavirus24
Copy link
Copy Markdown
Contributor

The other testing tools also have a short example of why they're useful. I'm sure he has examples, but it wouldn't hurt to add your own, in my opinion.

@mindsocket
Copy link
Copy Markdown
Contributor Author

Sure thing. I wasn't sure if the philosophy of the guide was to prefer linking to existing examples or to include them so didn't want to overdo it.

I'll review and update.

@sigmavirus24
Copy link
Copy Markdown
Contributor

Some tools like py.test have examples. Even a simple example would be useful. I for one was looking at mock a while back but a quick glimpse didn't give me what I was looking for.

kennethreitz pushed a commit that referenced this pull request Sep 23, 2012
Add mock library to testing page
@kennethreitz kennethreitz merged commit af72128 into realpython:master Sep 23, 2012
@kennethreitz
Copy link
Copy Markdown
Contributor

Beautiful ;)

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.

3 participants