Added sub-tests for a python2 input file.
This commit is contained in:
parent
7829bad0ec
commit
4752f0d735
13 changed files with 64 additions and 10 deletions
4
golden-files/input/hi.py
Normal file
4
golden-files/input/hi.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
|
||||
def hi():
|
||||
print "hi"
|
||||
15
golden-files/input/hi_test.py
Normal file
15
golden-files/input/hi_test.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
|
||||
import unittest
|
||||
|
||||
import hi
|
||||
|
||||
|
||||
class HiTestCase(unittest.TestCase):
|
||||
|
||||
def test_hi(self):
|
||||
hi.hi()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue