Skip to content

Commit a471225

Browse files
author
efajardo
committed
Adding the hash as a variable and doing some comments
1 parent d413ac9 commit a471225

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

osgtest/tests/test_155_stashcache.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@
7979
"""
8080

8181
CACHE_AUTHFILE_PATH = PARAMS["StashCacheAuthfile"]
82-
CACHE_AUTHFILE_CONTENTS = "u b64f6609.0 /osgtest/PROTECTED rl\n"
82+
# The hash of the vdttest user DN
83+
# "/DC=org/DC=opensciencegrid/C=US/O=OSG Software/OU=People/CN=vdttest"
84+
# is b64f6609.0
85+
user_DN_hash = "b64f6609.0"
86+
CACHE_AUTHFILE_CONTENTS = "u %s /osgtest/PROTECTED rl\n" % user_DN_hash
8387

8488

8589
CACHE_PUBLIC_AUTHFILE_PATH = PARAMS["StashCachePublicAuthfile"]

0 commit comments

Comments
 (0)