We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pydantic
polyfactory
1 parent c10b8c3 commit e46e3b3Copy full SHA for e46e3b3
tests/api/test_statements_get.py
@@ -511,18 +511,6 @@ async def test_api_statements_get_by_activity(
511
assert response.status_code == 200
512
assert response.json() == {"statements": [statements[1]]}
513
514
- # Check that badly formatted activity returns an error
515
- response = await client.get(
516
- "/xAPI/statements/?activity=INVALID_IRI",
517
- headers={"Authorization": f"Basic {basic_auth_credentials}"},
518
- )
519
-
520
- assert response.status_code == 422
521
- assert (
522
- response.json()["detail"][0]["msg"]
523
- == "Value error, 'INVALID_IRI' is not a valid 'IRI'."
524
525
526
527
@pytest.mark.anyio
528
async def test_api_statements_get_since_timestamp(
0 commit comments