| 185 | |
| 186 | @pytest.mark.asyncio |
| 187 | async def test_api_get_meta_not_existing(client): |
| 188 | response = client.get( |
| 189 | f'/api/datasources/{test_datasource["account"]}/{test_datasource["container"]}/file_path/meta' |
| 190 | ) |
| 191 | assert response.status_code == 404 # Because the datasource doesn't exist |
| 192 | client.post("/api/datasources", json=test_datasource).json() |
| 193 | response = client.get( |
| 194 | '/api/datasources/{test_datasource["account"]}/{test_datasource["container"]}/file_path/meta' |
| 195 | ) |
| 196 | assert response.status_code == 404 # Because the metadata doesn't exist |
| 197 | |
| 198 | |
| 199 | @pytest.mark.asyncio |