Choose a user with booking availability among many
This commit is contained in:
parent
a8322d6be0
commit
559c3b6d69
18 changed files with 1810 additions and 147 deletions
|
@ -1,4 +1,5 @@
|
|||
import json
|
||||
from pathlib import Path
|
||||
|
||||
import pendulum
|
||||
import pytest
|
||||
|
@ -42,6 +43,9 @@ booking_payload = (
|
|||
.build()
|
||||
)
|
||||
|
||||
html_file = Path(__file__).parent / "data" / "mes_resas.html"
|
||||
_mes_resas_html = html_file.read_text(encoding="utf-8")
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def a_user() -> User:
|
||||
|
@ -71,3 +75,8 @@ def a_booking_failure_response() -> str:
|
|||
@pytest.fixture
|
||||
def a_booking_payload() -> str:
|
||||
return booking_payload
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mes_resas_html() -> str:
|
||||
return _mes_resas_html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue