glimpse logging updates and testing updates

This commit is contained in:
2024-10-24 23:26:36 -07:00
parent edb6b8327e
commit 212d37020c

16
code/test.py Normal file
View File

@@ -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()