Skip to content

Commit

Permalink
unlock tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grillazz committed Nov 23, 2023
1 parent 2daae53 commit 926444c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_vegs_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest
from bson import ObjectId
# from bson import ObjectId
from fastapi import status
from httpx import AsyncClient
Expand All @@ -21,4 +22,4 @@ async def test_add_document(client: AsyncClient, payload: dict, status_code: int
response = await client.post("/api/v1/vegs", json=payload)
# Assert HTTP code and if received document id is valid
assert response.status_code == status_code
# assert ObjectId.is_valid(response.json()["id"])
assert ObjectId.is_valid(response.json()["id"])

0 comments on commit 926444c

Please sign in to comment.