We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a9c487 commit 0532971Copy full SHA for 0532971
tests/test_viam_client.py
@@ -49,6 +49,7 @@ async def test_clients(self):
49
patched_dial.return_value = channel
50
with patch("viam.app.viam_client._get_access_token") as patched_auth:
51
ACCESS_TOKEN = "MY_ACCESS_TOKEN"
52
+ METADATA = {"authorization": f"Bearer {ACCESS_TOKEN}"}
53
patched_auth.return_value = ACCESS_TOKEN
54
55
creds = Credentials("api-key", "SOME_API_KEY")
0 commit comments