Spaces:
Sleeping
Sleeping
File size: 314 Bytes
391d6e2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# Tests the functions themselves, not the function calling
from pprint import pprint
from functions import get_analysis
def test_get_analysis():
query = "How is MSTR doing?"
output = get_analysis(query)
pprint(output)
assert len(output) != 0
assert "MSTR" in output[0]['securities']
|