Skip to content

Commit 7934223

Browse files
ponyisiCopilot
andauthored
Update tests/test_servicex_adapter.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent aa2bc52 commit 7934223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_servicex_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async def test_get_transforms_wlcg_bearer_token(
106106
)
107107
token_file.close()
108108

109-
with patch.dict(os.environ, {"BEARER_TOKEN_FILE": token_file.name}, clear=True):
109+
with patch.dict(os.environ, {"BEARER_TOKEN_FILE": token_file.name}):
110110
# Try with no expiration at all
111111
with pytest.raises(RuntimeError):
112112
await servicex.get_transforms()

0 commit comments

Comments
 (0)