Skip to content

Commit a7186aa

Browse files
author
efajardo
committed
Asserting correctly
1 parent df9188a commit a7186aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

osgtest/tests/test_450_xrootd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ def test_02_test_multiuser(self):
4747
core.skip_ok_unless_installed('xrootd', 'xrootd-client', 'xrootd-multiuser', by_dependency=True)
4848
temp_dir = "/tmp/vdttest"
4949
if core.config['xrootd.multiuser'] == "ON":
50-
core.check_file_and_perms(os.path.join(temp_dir, 'copied_file.txt'),core.options.username,0o777)
50+
result = core.check_file_and_perms(os.path.join(temp_dir, 'copied_file.txt'),core.options.username,0o777)
5151
shutil.rmtree(temp_dir)
52-
self.assertEqual(owner, vdttestpid)
52+
self.assertEqual(result, True)
5353

5454
def test_03_xrdcp_server_to_local(self):
5555
core.skip_ok_unless_installed('xrootd', 'xrootd-client', by_dependency=True)

0 commit comments

Comments
 (0)