File size: 651 Bytes
aeb3f7c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"""Pytest configuration and fixtures."""

import pytest
import os

# Set test environment variables
os.environ["ENVIRONMENT"] = "development"
os.environ["DEBUG"] = "true"
os.environ["LOG_LEVEL"] = "DEBUG"


@pytest.fixture
def sample_text():
    """Sample text for testing."""
    return """This is a sample text for testing purposes. It contains multiple sentences
    to demonstrate various aspects of writing analysis.

    The text includes paragraphs and transitions. Furthermore, it provides examples
    according to best practices."""


@pytest.fixture
def sample_model_name():
    """Sample model name for testing."""
    return "distilgpt2"