Changeset 763fcf6 in flex_extract.git


Ignore:
Timestamp:
Aug 31, 2018, 4:33:13 PM (6 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
06c45e7
Parents:
451bb19
Message:

corrected function argument list of submit_job_to_ecgate

Location:
python
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • python/install.py

    r54a8a01 r763fcf6  
    195195                             c.ecuid, c.ecgid)
    196196
    197         submit_job_to_ecserver(ecd + '/python/', c.install_target,
    198                                'compilejob.ksh')
     197        result_code = submit_job_to_ecserver(ecd + '/python/', c.install_target,
     198                                             'compilejob.ksh')
    199199
    200200        print 'job compilation script has been submitted to ecgate for ' + \
  • python/pythontest/TestTools.py

    r451bb19 r763fcf6  
    121121    def test_fail_submit_job_to_ecserver(self):
    122122        with pytest.raises(SystemExit) as pytest_wrapped_e:
    123             submit_job_to_ecserver('${HOME}', 'ecgate', 'job.ksh')
     123            submit_job_to_ecserver('ecgate', 'job.ksh')
    124124        assert pytest_wrapped_e.type == SystemExit
    125125        assert pytest_wrapped_e.value.code == '... ECACCESS-JOB-SUBMIT FAILED!'
     
    127127    def test_success_submit_job_to_ecserver(self):
    128128
    129         result = submit_job_to_ecserver('TestData/testfile.txt',
    130                                         'ecgate', 'TestData/testfile.txt')
     129        result = submit_job_to_ecserver('ecgate', 'TestData/testfile.txt')
    131130        assert result == 0
    132131
  • python/submit.py

    r54a8a01 r763fcf6  
    161161            f.write('\n'.join(lftextondemand))
    162162
    163         submit_job_to_ecserver('', queue, job_file)
     163        result_code = submit_job_to_ecserver(queue, job_file)
    164164
    165165    else:
     
    187187            f.write('\n'.join(lftextoper))
    188188
    189         submit_job_to_ecserver('', queue, job_file)
     189        result_code = submit_job_to_ecserver(queue, job_file)
    190190
    191191    # --------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG