예제 #1
0
    def test2_branch(cls):
        """Test brancing."""
        sys.argv = ['--INPUT', 'jobid.ini', '--BRANCH', 'forcp.ini', '--BRANCH', 'forecho.ini',]
        Branch.main()

        assert os.path.exists('forcp.ini')
        assert os.path.exists('forecho.ini')
예제 #2
0
 def test1_branch(self):
     sys.argv = [
         '--INPUT', 'input.ini', '--BRANCH', 'tandem.ini', 'omssa.ini',
         '--COMMENT', 'kommentar'
     ]
     Branch.main()
     assert os.path.exists('tandem.ini')
     assert os.path.exists('omssa.ini')
예제 #3
0
    def test2_branch(self):
        sys.argv = [
            '--INPUT',
            'jobid.ini',
            '--BRANCH',
            'forcp.ini',
            '--BRANCH',
            'forecho.ini',
        ]
        Branch.main()

        assert os.path.exists('forcp.ini')
        assert os.path.exists('forecho.ini')
예제 #4
0
    def test2_branch(self):
        sys.argv = ['--INPUT', 'jobid.ini', '--BRANCH', 'forcp.ini','--BRANCH', 'forecho.ini',]
        Branch.main()

        assert os.path.exists('forcp.ini')
        assert os.path.exists('forecho.ini')
예제 #5
0
파일: test_flow.py 프로젝트: lcb/applicake
 def test1_branch(self):
     sys.argv = ['--INPUT', 'input.ini', '--BRANCH', 'tandem.ini', 'omssa.ini', '--COMMENT', 'kommentar']
     Branch.main()
     assert os.path.exists('tandem.ini')
     assert os.path.exists('omssa.ini')