INNER CODE UNIT · Python

response

mongodb-developer/mongodb-with-fastapi · test_api.py:75

        response = delete(student_root + inserted_id)
        response.raise_for_status()

        # Get the doc and ensure it's been deleted
        response = get(student_root + inserted_id)
        assert response.status_code == 404
    except HTTPError as he:
        print(he.response.json())
        raise

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…