- Implement tests for database generator to ensure proper session handling. - Create tests for EXIF extraction and conversion functions. - Add tests for image-related endpoints, ensuring proper data retrieval and isolation between clients. - Develop tests for OCR functionality, including language detection and text extraction. - Introduce tests for the image processing pipeline, covering success and failure scenarios. - Validate rate limiting functionality and ensure independent counters for different clients. - Implement scraper tests to verify HTML content fetching and error handling. - Add unit tests for various services, including storage and filename generation. - Establish worker entry point for ARQ to handle background image processing tasks.
14 lines
346 B
Python
14 lines
346 B
Python
import sys
|
|
import os
|
|
print(f"Current working directory: {os.getcwd()}")
|
|
print(f"Python path: {sys.path}")
|
|
|
|
try:
|
|
import numpy
|
|
print(f"Numpy file: {numpy.__file__}")
|
|
print(f"Numpy version: {numpy.__version__}")
|
|
except ImportError as e:
|
|
print(f"Error importing numpy: {e}")
|
|
except Exception as e:
|
|
print(f"Unexpected error: {e}")
|