@@ -16,7 +16,8 @@ class TestXrootd(osgunittest.OSGTestCase):
16
16
17
17
def setUp (self ):
18
18
if core .rpm_is_installed ("xcache" ):
19
- self .skip_ok_if (core .PackageVersion ("xcache" ) >= "1.0.2" , "xcache 1.0.2+ configs conflict with xrootd tests" )
19
+ self .skip_ok_if (core .PackageVersion ("xcache" ) >= "1.0.2" ,
20
+ "xcache 1.0.2+ configs conflict with xrootd tests" )
20
21
21
22
def test_01_xrdcp_local_to_server (self ):
22
23
core .state ['xrootd.copied-to-server' ] = False
@@ -43,11 +44,12 @@ def test_01_xrdcp_local_to_server(self):
43
44
self .assert_ (file_copied , 'Copied file missing' )
44
45
45
46
def test_02_xrootd_multiuser (self ):
46
- core .skip_ok_unless_installed ('xrootd' , 'xrootd-client' , 'globus-proxy-utils' , 'xrootd-multiuser' , by_dependency = True )
47
+ core .skip_ok_unless_installed ('xrootd' , 'xrootd-client' , 'globus-proxy-utils' , 'xrootd-multiuser' ,
48
+ by_dependency = True )
47
49
self .skip_bad_unless (core .config ['xrootd.multiuser' ], 'Xrootd not configured for multiuser' )
48
50
self .skip_bad_unless (core .state ['xrootd.copied-to-server' ], 'File to check ownership does not exist' )
49
51
file_path = os .path .join (core .config ['xrootd.tmp-dir' ], 'copied_file.txt' )
50
- self .assertEqual (core .check_file_ownership (file_path , core .options .username ), True )
52
+ self .assertEqual (core .check_file_ownership (file_path , core .options .username ), True )
51
53
52
54
def test_03_xrdcp_server_to_local (self ):
53
55
core .skip_ok_unless_installed ('xrootd' , 'xrootd-client' , by_dependency = True )
0 commit comments