"""Integration tests for GET /infra/connectivity/ows-permissions/.""" import requests from tests.integration import config async def test_connectivity_ows_permissions( bearer_token_pdptest_user: str, ) -> None: """Test endpoint for connectivity of ows-permissions.""" url = f"{config.QA_BASE_URL}/infra/connectivity/ows-permissions/" headers = {"Authorization": f"Bearer {bearer_token_pdptest_user}"} response = requests.get(url, headers=headers) assert response.status_code == 200, f"Response: {response.text}" assert response.json() == { "items": [ { "id": 7123, "type": "Vendor", "uuid": "573d0372-7f2f-48a6-8deb-c9a6558f9549", } ], "pagination": {"total_records": 1, "type": "standard"}, }