Python Programming - Testing - Discussion
Discussion Forum : Testing - General Questions (Q.No. 23)
23.
In Python testing, what is the purpose of the
unittest.mock.Mock
class?
Answer: Option
Explanation:
The
unittest.mock.Mock
class in Python is used to simulate the behavior of real objects in a controlled way during 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