Python Programming - Testing - Discussion
Discussion Forum : Testing - General Questions (Q.No. 32)
32.
What is the purpose of the
unittest.mock.patch.object
decorator?
Answer: Option
Explanation:
The
unittest.mock.patch.object
decorator in Python is used to decorate a test method with a patch for a specific object's 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