diff --git a/.gitignore b/.gitignore index a78447ab1fa..3f760ab954c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ __pycache__/ .ipynb_checkpoints env/ venv/ -notebooks/reports/ +notebooks/reports/* +!notebooks/reports/.gitkeep diff --git a/gamestonk_terminal/tests/test_dd_finviz_api.py b/gamestonk_terminal/tests/test_dd_finviz_api.py new file mode 100644 index 00000000000..864398ec85b --- /dev/null +++ b/gamestonk_terminal/tests/test_dd_finviz_api.py @@ -0,0 +1,13 @@ +""" due_diligence/finviz_api.py tests """ +# noqa: F401 +import unittest + +# pylint: disable=unused-import +import pytest + +from gamestonk_terminal.due_diligence.finviz_api import analyst + + +class TestDdFinvizApi(unittest.TestCase): + def test_analyst(self): + analyst([], "PLTR") diff --git a/gamestonk_terminal/tests/test_fa_market_watch_api.py b/gamestonk_terminal/tests/test_fa_market_watch_api.py new file mode 100644 index 00000000000..2a001731541 --- /dev/null +++ b/gamestonk_terminal/tests/test_fa_market_watch_api.py @@ -0,0 +1,13 @@ +""" fundamental_analysis/market_watch_api.py tests """ +# noqa: F401 +import unittest + +# pylint: disable=unused-import +import pytest + +from gamestonk_terminal.fundamental_analysis.market_watch_api import income + + +class TestFaMarketWatchApi(unittest.TestCase): + def test_income(self): + income([], "PLTR") diff --git a/gamestonk_terminal/tests/test_sentiment_twitter_api.py b/gamestonk_terminal/tests/test_sentiment_twitter_api.py new file mode 100644 index 00000000000..511c11f2a2e --- /dev/null +++ b/gamestonk_terminal/tests/test_sentiment_twitter_api.py @@ -0,0 +1,16 @@ +""" sentiment/twitter_api.py """ +# noqa: F401 +import unittest + +# pylint: disable=unused-import +import pytest + +from gamestonk_terminal.sentiment.twitter_api import inference, sentiment + + +class TestSentimentTwitterApi(unittest.TestCase): + def test_inference(self): + inference([], "PLTR") + + def test_sentiment(self): + sentiment([], "PLTR") diff --git a/notebooks/reports/.gitkeep b/notebooks/reports/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d