# This file was generated by liblab | https://liblab.com/
# pylint: disable=C0116, C0115

import unittest
from src.toolhouse.models.ToolhouseCallResults import ToolhouseCallResults


class TestToolhouseCallResultsModel(unittest.TestCase):
    def test_true(self):
        self.assertTrue(True)  # pylint: disable=W1503

    def test_toolhouse_call_results(self):
        # Create ToolhouseCallResults class instance
        test_model = ToolhouseCallResults(content={"illo": 8}, provider="openai")
        self.assertEqual(test_model.content, {"illo": 8})
        self.assertEqual(test_model.provider, "openai")

    def test_toolhouse_call_results_required_fields_missing(self):
        # Assert ToolhouseCallResults class generation fails without required fields
        with self.assertRaises(TypeError):
            # pylint: disable=E1120, W0612
            test_model = ToolhouseCallResults()  # noqa: F841


if __name__ == "__main__":
    unittest.main()
