(client)
| 151 | |
| 152 | @pytest.mark.asyncio |
| 153 | async def test_api_get_meta(client): |
| 154 | client.post("/api/datasources", json=test_datasource).json() |
| 155 | response = client.post( |
| 156 | f'/api/datasources/{test_datasource["account"]}/{test_datasource["container"]}/file_path/meta', |
| 157 | json=valid_metadata, |
| 158 | ) |
| 159 | response = client.get( |
| 160 | f'/api/datasources/{test_datasource["account"]}/{test_datasource["container"]}/file_path/meta' |
| 161 | ) |
| 162 | assert response.status_code == 200 |
| 163 | |
| 164 | |
| 165 | @pytest.mark.asyncio |