From 212d37020c2ecf3af299a6b2e54550a16ac455b8 Mon Sep 17 00:00:00 2001 From: Bryce Date: Thu, 24 Oct 2024 23:26:36 -0700 Subject: [PATCH] glimpse logging updates and testing updates --- code/test.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 code/test.py 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