- Added pytest configuration and test suite - Added TypeScript configuration for both frontend apps - Removed duplicate migration files from backend/backend/migrations/ - Enhanced project structure for better testing and development"
28 lines
560 B
Python
28 lines
560 B
Python
"""
|
|
Test Configuration - ServiceManagerWeb
|
|
|
|
Configuración básica para testing con pytest
|
|
"""
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture
|
|
def test_user_data():
|
|
"""Sample user data for testing."""
|
|
return {
|
|
"email": "test@example.com",
|
|
"first_name": "Test",
|
|
"last_name": "User",
|
|
"password": "TestPassword123!"
|
|
}
|
|
|
|
|
|
@pytest.fixture
|
|
def test_tenant_data():
|
|
"""Sample tenant data for testing."""
|
|
return {
|
|
"name": "Test Tenant",
|
|
"slug": "test-tenant",
|
|
"description": "Test tenant for testing"
|
|
} |