mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Add more built-in roles
This commit is contained in:
1 parent
0077fd98aa
commit
170f476733
3 files changed
+43
-1
No files matched your search
@@ -46,7 +46,7 @@ class TestRolesRoutes:
|
||||
|
||||
response = await client.get(app.url_path_for("get_roles"))
|
||||
assert response.status_code == status.HTTP_200_OK
|
||||
assert len(response.json()) == 5 # 4 default roles + role1
|
||||
assert len(response.json()) == 8 # 7 default roles + role1
|
||||
|
||||
async def test_update_role(self, app: FastAPI, client: AsyncClient, db_session: AsyncSession) -> None:
|
||||
|
||||
|
||||
Reference in new issue
Block a user