Example #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')
Example #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')
Example #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')
Example #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')
Example #5
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')