mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
* Expanding bot tests * expanded tests * Added tests * Added stock test * Fix filepath * Attempted mock * Bots : test_run_telegram * Enhance tests * Fixed black * Expanded tests * Added fix * Ingore interactive files * Removed bot dependency installation from tests * Fix one black * Fixed black * Added init.py * Added pylint disables * Added skip Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
10 lines
211 B
Python
10 lines
211 B
Python
import pytest
|
|
from _pytest.nodes import Node
|
|
|
|
# IMPORTATION INTERNAL
|
|
|
|
|
|
def pytest_runtest_setup(item: Node):
|
|
if not item.config.getoption("--bots"):
|
|
pytest.skip(msg="Runs only with option : --bots")
|