bugfix getallapps

This commit is contained in:
2024-12-17 19:56:29 +09:00
parent 51e15287f5
commit c2a7ead1e3
9 changed files with 121 additions and 40 deletions

View File

@@ -0,0 +1,9 @@
import logging
def test_get_allapps(test_client,test_domain,login_user):
response = test_client.get("/api/v1/allapps", headers={"Authorization": "Bearer " + login_user})
data = response.json()
logging.error(data)
assert response.status_code == 200
assert "apps" in data
assert data["apps"] is not None
assert len(data["apps"]) > 0