SpiceQA
Questions Tags Users Badges

magicmock

13 Questions
Newest Active Unanswered Frequent
Score
View
Card Compact
How does MagicMock avoid throwing AttributeError when a random method is called?
user_20941680
• asked Oct 24, 2018
3
2
1380
magicmock pytest mocking python
How to get python's MagicMock to return a value the first time it is called and raise an exception the second time it is called?
user_17427770
• asked Sep 27, 2017
5
2
1882
magicmock mocking python
How can I mock a property to raise an exception?
user_2511530
• asked May 13, 2017
6
1
3061
magicmock python-2.7 mocking unit-testing python
  • PrevPrev
  • 1
  • 2 (current)
Hot Questions
Terms of service Privacy policy
Powered by Answer