Skip to content

Commit

Permalink
Update example_1_readwritetest_token_test.md
Browse files Browse the repository at this point in the history
  • Loading branch information
M-A-Demir authored Sep 20, 2024
1 parent 8b0720f commit 0ffdfda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/example_1_readwritetest_token_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ Add the token test's setup code:
if class_name == "Test_Token":
if test_name == "test_copy_without_token":
FILENAME = 'tst.txt'
~~~
Use unsetCreds method to unset environmental variable for token and voms_proxy:
~~~
bearerToken = os.getenv("BEARER_TOKEN")
x509User = os.getenv("X509_USER_PROXY")
RWTest.unsetCreds('/tmp/x509up_*', bearerToken, x509User)
Expand Down

0 comments on commit 0ffdfda

Please sign in to comment.