forked from mtusi2026/mtusi2026lab2
ЛР 2: мессенджер на PostgreSQL и сессии в Redis
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
from tests.client import Client
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def client():
|
||||
return Client(os.environ.get('BASE_URL'), os.environ.get('CA_FILE') or None)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def actors(client):
|
||||
return (client,) + client.bootstrap()
|
||||
Reference in New Issue
Block a user