mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 13:32:08 +00:00
11 lines
292 B
Python
11 lines
292 B
Python
import json
|
|
|
|
from openbb_terminal.core.config.paths import USER_DATA_SOURCES_DEFAULT_FILE
|
|
|
|
|
|
def test_sources_load():
|
|
with open(str(USER_DATA_SOURCES_DEFAULT_FILE)) as json_file:
|
|
json_doc = json.load(json_file)
|
|
assert isinstance(json_doc, dict)
|
|
assert "stocks" in json_doc
|