diff --git a/code/test.py b/code/test.py new file mode 100644 index 0000000..edafebe --- /dev/null +++ b/code/test.py @@ -0,0 +1,16 @@ +import unittest +from unittest.mock import patch, MagicMock +from main import analyze_url + +class TestAnalyzeUrl(unittest.TestCase): + + def test_analyze_url(self): + result = analyze_url('https://data.prod.app.integreatconsult.com/glimpse2/import/c9c5b9af-bfb5-475d-820d-20a6a00f006b.pdf') + + self.assertEqual(result, {}) + + # Add more assertions depending on how you expect your function to behave. + + +if __name__ == '__main__': + unittest.main() \ No newline at end of file