1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix tests

This commit is contained in:
grossmj 2023-11-12 18:11:41 +10:00
parent e367b3a148
commit 303cbf3642

View File

@ -172,8 +172,8 @@ async def client(base_client: AsyncClient) -> AsyncClient:
@pytest_asyncio.fixture
async def compute_client(base_client: AsyncClient) -> AsyncClient:
# default compute username is 'admin'
base64_credentials = base64.b64encode(b"admin:").decode("ascii")
# default compute username is 'gns3'
base64_credentials = base64.b64encode(b"gns3:").decode("ascii")
base_client.headers = {
**base_client.headers,
"Authorization": f"Basic {base64_credentials}",