legal-doc-masker/backend/tests/test_basic.py

19 lines
505 B
Python

import pytest
def test_basic_discovery():
"""Basic test to verify pytest discovery is working"""
assert True
def test_import_works():
"""Test that we can import from the app module"""
try:
from app.core.document_handlers.ner_processor import NerProcessor
assert NerProcessor is not None
except ImportError as e:
pytest.fail(f"Failed to import NerProcessor: {e}")
def test_simple_math():
"""Simple math test"""
assert 1 + 1 == 2
assert 2 * 3 == 6