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