Changeset 763fcf6 in flex_extract.git for python/pythontest/TestTools.py


Ignore:
Timestamp:
Aug 31, 2018, 4:33:13 PM (3 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev, feature/makefiles, origin/task/language-editing, task/language-editing
Children:
06c45e7
Parents:
451bb19
Message:

corrected function argument list of submit_job_to_ecgate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG