Changeset f9f7b3f in flex_extract.git


Ignore:
Timestamp:
Sep 2, 2018, 10:40:41 AM (12 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
97e09f4
Parents:
70a0bec
Message:

start using markers for testcases

Location:
python/pythontest
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • python/pythontest/TestTools.py

    r70a0bec rf9f7b3f  
    44import os
    55import sys
    6 #import unittest
    76import subprocess
    87import pipes
     
    118117        assert True
    119118
     119    @pytest.mark.msuser
    120120    def test_success_put_file_to_ecserver(self):
    121         ecuid=os.environ['ECUID']#'km4a'
    122         ecgid=os.environ['ECGID']#'at'
     121        ecuid=os.environ['ECUID']
     122        ecgid=os.environ['ECGID']
    123123        put_file_to_ecserver('TestData/', 'testfile.txt', 'ecgate', ecuid, ecgid)
    124         assert subprocess.call(['ssh', 'km4a@ecaccess.ecmwf.int' ,
     124        assert subprocess.call(['ssh', ecuid+'@ecaccess.ecmwf.int' ,
    125125                                'test -e ' +
    126126                                pipes.quote('/home/ms/'+ecgid+'/'+ecuid)]) == 0
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG