Spaces:
Runtime error
Runtime error
Create tests/test_analyzer.py
Browse files- tests/test_analyzer.py +6 -0
tests/test_analyzer.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from modules.analyzer import Analyzer
|
| 2 |
+
|
| 3 |
+
def test_analyzer_init():
|
| 4 |
+
analyzer = Analyzer(base_url="https://test.api", api_key="test_key")
|
| 5 |
+
assert analyzer.client.base_url == "https://test.api"
|
| 6 |
+
assert analyzer.client.api_key == "test_key"
|