File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # placeholder file to modularize (to package) .py files
2- # under the directory "funcs", making the files importable.
1+ # placeholder file to modularize (to package) .py files under the directory "tests", making the files importable.
Original file line number Diff line number Diff line change 1- # placeholder file to modularize (to package) .py files
2- # under the directory "tests", making the files importable.
1+ # placeholder file to modularize (to package) .py files under the directory "tests", making the files importable.
Original file line number Diff line number Diff line change 11import unittest
2- from unittest .mock import patch
32from funcs import func
43
4+
55class Test (unittest .TestCase ):
66
77 def test_sum (self ):
8- self .assertEqual (func .sum (2 ,3 ), 5 )
8+ self .assertEqual (func .sum (2 , 3 ), 5 )
9+
910
1011if __name__ == "__main__" :
1112 unittest .main ()
12-
You can’t perform that action at this time.
0 commit comments