File size: 260 Bytes
b1ce64c
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from ai_system.ai_system import AISystem
from models.error_model import ErrorModel

def test_ai_system():
    error_model = ErrorModel()
    ai_system = AISystem(error_model)

    error = Error("Test error", "Test traceback")
    ai_system.process_error(error)