Question: 28 1 def convertToInt(item): num= int(item) What value should be replaced in to make this test a valid PyTest test? (case sensitivity matters!) C @pytest.mark.parametrize(item,
28 1 def convertToInt(item): num= int(item) What value should be replaced in to make this test a valid PyTest test? (case sensitivity matters!) C @pytest.mark.parametrize("item", [2, "Hello", "2.0", 4.5]) def test convertToInt(redacted): assert convertToInt(item) 2 pts
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
