Skip to content

Commit 13f643d

Browse files
committed
Shorten HTCondor-CE mapfile key name
1 parent 64acb10 commit 13f643d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

osgtest/tests/test_190_condorce.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ def test_02_scitoken_mapping(self):
4747
# Write the mapfile to the admin mapfile directory
4848
# https://github.com/htcondor/htcondor-ce/pull/425
4949
if condorce_version >= '5.1.0':
50-
core.config['condor-ce.condorce_mapfile'] = '/etc/condor-ce/mapfiles.d/01-osg-test.conf'
50+
core.config['condor-ce.mapfile'] = '/etc/condor-ce/mapfiles.d/01-osg-test.conf'
5151
else:
52-
core.config['condor-ce.condorce_mapfile'] = '/etc/condor-ce/condor_mapfile'
53-
mapfile_contents = files.read(core.config['condor-ce.condorce_mapfile'], as_single_string=True)
52+
core.config['condor-ce.mapfile'] = '/etc/condor-ce/condor_mapfile'
53+
mapfile_contents = files.read(core.config['condor-ce.mapfile'], as_single_string=True)
5454
scitoken_mapping += mapfile_contents
5555

56-
files.write(core.config['condor-ce.condorce_mapfile'],
56+
files.write(core.config['condor-ce.mapfile'],
5757
scitoken_mapping,
5858
owner='condor-ce',
5959
chmod=0o644)

osgtest/tests/test_790_condorce.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def test_02_restore_config(self):
1515
files.restore(core.config['condor-ce.condor-cfg'], 'condor-ce')
1616
files.restore(core.config['condor-ce.condor-ce-cfg'], 'condor-ce')
1717
if core.state['condor-ce.wrote-mapfile']:
18-
files.restore(core.config['condor-ce.condorce_mapfile'], 'condor-ce')
18+
files.restore(core.config['condor-ce.mapfile'], 'condor-ce')

0 commit comments

Comments
 (0)