> @patch('apps.market.models.House')

Is create house in apps.market.models, or is it somewhere else? If
it's somewhere else, mock it relative to that file eg:
@patch('apps.some_file.House')

> I'm also wondering if it's possible to inspect MockedHouse to see if it has 
> for example some tags added to it.

Yep stick a pdb statement after create house.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to