Skip to content

Commit 640e6f4

Browse files
committed
Add OSG 3.5 decorators
1 parent d868023 commit 640e6f4

15 files changed

+41
-0
lines changed

osgtest/tests/test_130_gridftp.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
class TestStartGridFTP(osgunittest.OSGTestCase):
66

7+
@core.osgrelease(3.5)
8+
def setUp(self):
9+
pass
10+
711
def test_01_start_gridftp(self):
812
core.state['gridftp.started-server'] = False
913
core.state['gridftp.running-server'] = False

osgtest/tests/test_140_lcmaps.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ class TestLcMaps(osgunittest.OSGTestCase):
66

77
required_rpms = ['lcmaps', 'lcmaps-db-templates', 'vo-client', 'vo-client-lcmaps-voms']
88

9+
@core.osgrelease(3.5)
10+
def setUp(self):
11+
pass
12+
913
def test_01_configure(self):
1014
core.config['lcmaps.db'] = '/etc/lcmaps.db'
1115
core.config['lcmaps.gsi-authz'] = '/etc/grid-security/gsi-authz.conf'

osgtest/tests/test_150_xrootd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def test_01_configure_xrootd(self):
102102

103103
core.state['xrootd.backups-exist'] = True
104104

105+
@core.osgrelease(3.5)
105106
def test_02_configure_hdfs(self):
106107
core.skip_ok_unless_installed('xrootd-hdfs')
107108
hdfs_config = "ofs.osslib /usr/lib64/libXrdHdfs.so"

osgtest/tests/test_220_myproxy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
class TestStartMyProxy(osgunittest.OSGTestCase):
99

10+
@core.osgrelease(3.5)
11+
def setUp(self):
12+
pass
13+
1014
def test_01_config_certs(self):
1115
core.config['certs.myproxycert'] = '/etc/grid-security/myproxy/hostcert.pem'
1216
core.config['certs.myproxykey'] = '/etc/grid-security/myproxy/hostkey.pem'

osgtest/tests/test_280_gsiopenssh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727

2828
class TestStartGSIOpenSSH(osgunittest.OSGTestCase):
29+
@core.osgrelease('3.5')
2930
def setUp(self):
3031
core.skip_ok_unless_installed('gsi-openssh-server', 'gsi-openssh-clients')
3132

osgtest/tests/test_400_proxy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
class TestGridProxyInit(osgunittest.OSGTestCase):
77

8+
@core.osgrelease(3.5)
9+
def setUp(self):
10+
pass
11+
812
def test_01_remove_proxy(self):
913
core.skip_ok_unless_installed('globus-proxy-utils')
1014
# If there is no pre-existing proxy file, the following command will

osgtest/tests/test_403_myproxy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
class TestMyProxy(osgunittest.OSGTestCase):
77

8+
@core.osgrelease(3.5)
9+
def setUp(self):
10+
pass
11+
812
def test_01_remove_proxy(self):
913
core.skip_ok_unless_installed('myproxy', 'myproxy-server')
1014
self.skip_ok_unless(core.state['myproxy.started-server'], 'MyProxy server failed to start')

osgtest/tests/test_420_gridftp.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ class TestGridFTP(osgunittest.OSGTestCase):
99

1010
__data_path = '/usr/share/osg-test/test_gridftp_data.txt'
1111

12+
@core.osgrelease(3.5)
13+
def setUp(self):
14+
pass
15+
1216
def test_01_copy_local_to_server(self):
1317
core.skip_ok_unless_installed('globus-gridftp-server-progs', 'globus-ftp-client',
1418
'globus-proxy-utils', 'globus-gass-copy-progs')

osgtest/tests/test_430_uberftp.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ class TestUberFTP(osgunittest.OSGTestCase):
1212
'globus-proxy-utils', 'globus-gass-copy-progs',
1313
'uberftp']
1414

15+
@core.osgrelease(3.5)
16+
def setUp(self):
17+
pass
18+
1519
def test_01_copy_local_to_server_uberftp(self):
1620
core.skip_ok_unless_installed(*self.required_rpms)
1721
self.skip_bad_unless(core.state['gridftp.running-server'] is True, 'GridFTP not running')

osgtest/tests/test_590_gsiopenssh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class TestGSIOpenSSH(osgunittest.OSGTestCase):
1818
local_path = None
1919
port = None
2020

21+
@core.osgrelease('3.5')
2122
def setUp(self):
2223
core.skip_ok_unless_installed('gsi-openssh-server', 'gsi-openssh-clients')
2324
self.skip_ok_unless(core.state['gsisshd.can-run'], "Couldn't run gsisshd (see above)")

0 commit comments

Comments
 (0)