Python Programming - Testing - Discussion

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

Post your comments here:

Your comments will be displayed after verification.