Files
OpenBB/tests/bots/economy/test_overview.py
Colin Delahunty 6538c0ce14 Expanding bot tests (#1561)
* 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>
2022-04-02 14:47:46 -04:00

16 lines
338 B
Python

import pytest
try:
from bots.economy.overview import overview_command
except ImportError:
pytest.skip(allow_module_level=True)
@pytest.mark.bots
@pytest.mark.vcr
def test_overview_command(mocker, recorder):
mocker.patch("bots.helpers.uuid_get", return_value="1")
value = overview_command()
recorder.capture(value)