luxury-authenticator / test_integration.py
Princess24's picture
oi
92ee215
Raw
History Blame Contribute Delete
614 Bytes
import sys
sys.path.insert(0, r'c:\Users\NAEHA\Desktop\projects\spaces')
from luxury_authenticator import analyze_image, determine_status
from pipeline.orchestrator import analyse
# Test status determination
status, color, icon = determine_status(80)
print(f"βœ“ Status function works: {status}")
# Test that analyse is imported
print(f"βœ“ Pipeline analyse imported successfully")
# Test analyze_image with None (should give error message)
result = analyze_image(None)
if "Please upload" in result:
print("βœ“ Error handling works correctly")
print("\nβœ… INTEGRATION COMPLETE - Ready for real images!")