def METHOD_NAME(
    db: Session, client: TestClient, k8s_secrets_mock: K8sSecretsMock
):
    _create_project(client)
    resp = client.put(
        api_datastore_path,
        data=json.dumps(datastore),
    )
    assert resp.status_code == HTTPStatus.OK.value
    expected_return = {"project": project, **datastore}
    resp = client.get(
        api_datastore_path + "/" + datastore["name"],
    )
    assert resp.status_code == HTTPStatus.OK.value
    assert json.loads(resp._content) == expected_return