glimpse logging updates and testing updates
This commit is contained in:
16
code/test.py
Normal file
16
code/test.py
Normal 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()
|
||||
Reference in New Issue
Block a user