first try to get session cookie

This commit is contained in:
2025-07-02 15:06:46 +02:00
parent 90cae5ffc9
commit b34382c46c
2 changed files with 14 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
import pytest
from server import app
from bs4 import BeautifulSoup
EMAIL1 = "admin@irontemple.com"
EMAIL2 = "john@simplylift.co"
@@ -12,6 +14,7 @@ def client():
@pytest.fixture
def connect(client):
response = client.post('/showSummary', data={"email": EMAIL})
response = client.post('/showSummary', data={"email": EMAIL1})
soup = BeautifulSoup(response.data, 'html.parser')
return soup