""" Pytest configuration and fixtures """ import pytest import sys import os # Add src to path for imports sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src')) @pytest.fixture def sample_hadith_data(): """Sample hadith data for testing""" return { "Title": "Sample Hadith", "Arabic Text": "عن أبي هريرة رضي الله عنه", "Translation": "From Abu Hurairah, may Allah be pleased with him", "Source Info": "Sahih Bukhari" } @pytest.fixture def sample_article_data(): """Sample article data for testing""" return { "Title": "Sample Islamic Article", "Content": "This is a sample Islamic article content...", "Author": "Islamic Scholar", "Source": "Islamic Website" }