16 lines
481 B
Python
16 lines
481 B
Python
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() |