Question: Given the script.py code: def add ( a , b ) : return a + b Given the unit test script _ test.py code: What

Given the
script.py code:
def add(a,b) :
return a+b
Given the unit test script_test.py code:
What is missing from the unit test
?
Test_Script class does not implment unittest.TestCase
TestScript class does not import math
add() function should be invoked using self [e.g. self.add(2,3)]
script.py does not import unittest module
 Given the script.py code: def add(a,b) : return a+b Given the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!