Python Programming - Testing - Discussion
Discussion Forum : Testing - General Questions (Q.No. 76)
76.
What does the
unittest.mock.patch.object
decorator do in Python testing?
Answer: Option
Explanation:
The
unittest.mock.patch.object
decorator is used to decorate a test method with a patch for an object attribute in Python testing.
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