Files
OpenBB/tests/openbb_terminal/stocks/test_cboe_view.py
James Maslek 0b76e5b4c3 Add cboe top of book (#2830)
* Add cboe top of book

* test + merge 1 print table

* unit test + add stocks int test
2022-10-14 13:16:06 -04:00

15 lines
299 B
Python

import pytest
from openbb_terminal.stocks import cboe_view
@pytest.mark.vcr
@pytest.mark.record_stdout
def test_top_of_book():
cboe_view.display_top_of_book("AAPL")
@pytest.mark.vcr
@pytest.mark.record_stdout
def test_top_of_book_bad_ticker():
cboe_view.display_top_of_book("JBEUCEBFY")