tests-upgrade
All checks were successful
Deploy on push / deploy (push) Successful in 57m1s

This commit is contained in:
2025-09-25 09:40:12 +03:00
parent 1992434a13
commit ac0111cdb9
17 changed files with 766 additions and 363 deletions

View File

@@ -32,11 +32,17 @@ def test_backend_url_fixture(backend_url):
@pytest.mark.unit
def test_test_user_credentials_fixture(test_user_credentials):
"""Тест фикстуры test_user_credentials"""
import os
# 🔍 Проверяем что фикстура использует переменные окружения
expected_email = os.getenv("TEST_LOGIN", "test_admin@discours.io")
expected_password = os.getenv("TEST_PASSWORD", "password123")
assert test_user_credentials is not None
assert "email" in test_user_credentials
assert "password" in test_user_credentials
assert test_user_credentials["email"] == "test_admin@discours.io"
assert test_user_credentials["password"] == "password123"
assert test_user_credentials["email"] == expected_email
assert test_user_credentials["password"] == expected_password
@pytest.mark.unit