-
- # Set some predefined command args and corresponding output messages
- cls.hello0 = ["hello.py", "args:outfile="+cls.logFile]
- cls.hello0Msg = "Hello!"
- cls.hello1 = ["hello.py", "args:you,outfile="+cls.logFile]
- cls.hello1Msg = "Hello to: you"
- cls.helloToAdd = ["hello.py", "args:add.py,1,2,3,outfile="+cls.logFile]
- cls.helloToAddMsg = "Hello to: add.py, 1, 2, 3"
- cls.add0 = ["add.py", "args:outfile="+cls.logFile]
- cls.add0Msg = "No args!"
- cls.add3 = ["add.py", "args:1,2,3,outfile="+cls.logFile]
- cls.add3Msg = "1+2+3 = 6"
- cls.lines0 = ["lines.py", "args:outfile="+cls.logFile]
- cls.lines0Msg = "No files given"
- cls.lines2 = ["lines.py", "args:hello.py,add.py,outfile="+cls.logFile]
- cls.lines2Msg = "hello.py is 16 lines longadd.py is 18 lines long"
- cls.linesUnreadable = ["lines.py", "args:hello.py,add.py,1,2,outfile="+cls.logFile]
- cls.linesUnreadableMsg = "hello.py is 16 lines longadd.py is 18 lines longFile '1' cannot be readFile '2' cannot be read"
- #
- @classmethod
- def tearDownClass(cls):
- pass
- #
- def setUp(self):