Skip to content

Commit d0344db

Browse files
committed
We should chown the token even if we don't add the test user
1 parent 6a08dc5 commit d0344db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osgtest/tests/test_401_scitokens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_01_request_condor_write_scitoken(self):
5353
self.fail(f"Failed to request token from demo.scitokens.org:\n{exc}")
5454

5555
ids = (0, 0)
56-
if core.state['general.user_added']:
56+
if core.state['user.verified']:
5757
user = pwd.getpwnam(core.options.username)
5858
ids = (user.pw_uid, user.pw_gid)
5959

0 commit comments

Comments
 (0)