Skip to content

Commit

Permalink
Fixed wrong endpoint for POST request
Browse files Browse the repository at this point in the history
Also request PDF format result
  • Loading branch information
linearcombination committed Jun 7, 2024
1 parent 1f1fcbb commit ce94a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1686,14 +1686,14 @@ def test_en_ulb_wa_col_en_tn_condensed_col_language_book_order_with_no_email_1c(
"""
with TestClient(app=app, base_url=settings.api_test_url()) as client:
response = client.post(
"/documents_docx",
"/documents",
json={
# "email_address": settings.TO_EMAIL_ADDRESS,
"assembly_strategy_kind": model.AssemblyStrategyEnum.LANGUAGE_BOOK_ORDER,
"assembly_layout_kind": model.AssemblyLayoutEnum.ONE_COLUMN,
"layout_for_print": False,
"chunk_size": model.ChunkSizeEnum.CHAPTER,
"generate_pdf": False,
"generate_pdf": True,
"generate_epub": False,
"generate_docx": False,
"resource_requests": [
Expand Down

0 comments on commit ce94a88

Please sign in to comment.