Python Programming - Testing - Discussion
Discussion Forum : Testing - General Questions (Q.No. 58)
58.
What is the purpose of the
unittest.mock.MagicMock.return_value attribute?
Answer: Option
Explanation:
The
return_value attribute in Python unittest.mock.MagicMock is used to specify the return value of a method.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers