コード例 #1
0
ファイル: test_workflow.py プロジェクト: malmstroem/applicake
    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
ファイル: test_flow.py プロジェクト: uweschmitt/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')
コード例 #3
0
ファイル: test_workflow.py プロジェクト: uweschmitt/applicake
    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
ファイル: test_workflow.py プロジェクト: lcb/applicake
    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')