File: test_xbl_client.py

package info (click to toggle)
python-xbox-webapi 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,916 kB
  • sloc: python: 4,973; makefile: 79
file content (10 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
from xbox.webapi.api.client import XboxLiveClient


def test_authorization_header(auth_mgr):
    client = XboxLiveClient(auth_mgr)

    assert (
        client._auth_mgr.xsts_token.authorization_header_value
        == "XBL3.0 x=abcdefg;123456789"
    )