mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Merge branch '3.0' into resource-pools
This commit is contained in:
3 files changed
+76
No files matched your search
@@ -0,0 +1,25 @@
|
||||
#
|
||||
# Software Name : GNS3 server
|
||||
# Version: 3
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2023 Orange Business Services
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#
|
||||
# This software is distributed under the GPL-3.0 or any later version,
|
||||
# the text of which is available at https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
# or see the "LICENSE" file for more details.
|
||||
#
|
||||
# Author: Sylvain MATHIEU
|
||||
#
|
||||
|
||||
import pytest
|
||||
from fastapi import FastAPI, status
|
||||
from httpx import AsyncClient
|
||||
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
|
||||
class TestPrivilegesRoute:
|
||||
|
||||
async def test_get_privileges(self, app: FastAPI, client: AsyncClient) -> None:
|
||||
response = await client.get(app.url_path_for("get_privileges"))
|
||||
assert response.status_code == status.HTTP_200_OK
|
||||
Reference in new issue
Block a user