Skip to content

Commit beb7e3c

Browse files
Lowercase local var for caching plugin path
Co-Authored-By: Matyas Selmeci <[email protected]>
1 parent d85b929 commit beb7e3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

osgtest/tests/test_155_stashcache.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ def setUp(self):
122122

123123
def test_01_configure(self):
124124
if core.PackageVersion('stash-cache') >= '1.1.0':
125-
CACHING_PLUGIN_CFG_PATH = "/etc/xrootd/config.d/40-stash-cache-plugin.cfg"
125+
caching_plugin_cfg_path = "/etc/xrootd/config.d/40-stash-cache-plugin.cfg"
126126
http_cfg_path = "/etc/xrootd/config.d/50-osg-http.cfg"
127127
else:
128-
CACHING_PLUGIN_CFG_PATH = "/etc/xrootd/config.d/40-osg-caching-plugin.cfg"
128+
caching_plugin_cfg_path = "/etc/xrootd/config.d/40-osg-caching-plugin.cfg"
129129
http_cfg_path = "/etc/xrootd/config.d/40-osg-http.cfg"
130130

131131
for key, val in PARAMS.items():
@@ -150,7 +150,7 @@ def test_01_configure(self):
150150
for path, regexp in [
151151
(XROOTD_ORIGIN_CFG_PATH, "^\s*all.manager.+$"),
152152
(http_cfg_path, "^\s*xrd.protocol.+$"),
153-
(CACHING_PLUGIN_CFG_PATH, "^\s*(ofs.osslib|pss.cachelib|pss.origin).+$"),
153+
(caching_plugin_cfg_path, "^\s*(ofs.osslib|pss.cachelib|pss.origin).+$"),
154154
]:
155155
files.replace_regexpr(path, regexp, "", owner=NAMESPACE)
156156
filelist.append(path)

0 commit comments

Comments
 (0)