Python Programming - Testing - Discussion

Discussion Forum : Testing - General Questions (Q.No. 14)
14.
In Python's unittest module, what does the assertIn method check?
If a value is within a specified range
If two values are not equal
If a value is present in a container
If a condition is True
Answer: Option
Explanation:
The assertIn method in the unittest module checks if a value is present in a container during testing.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.