Merge pull request #304 from DidierRLopes/remove-twitter-sentiment

Removing failing test
This commit is contained in:
Artem Veremey
2021-03-31 16:23:22 -07:00
committed by GitHub

View File

@@ -1,32 +0,0 @@
""" sentiment/twitter_api.py """
# flake8: noqa: F401
import unittest
# pylint: disable=unused-import
try:
from gamestonk_terminal.behavioural_analysis.twitter_view import (
inference,
sentiment,
)
except ModuleNotFoundError as e:
print("One of the optional packages seems to be missing")
print(e)
print("Skipping the test")
from gamestonk_terminal import feature_flags as gtff
class TestSentimentTwitterApi(unittest.TestCase):
def test_inference(self):
if not gtff.ENABLE_PREDICT:
return
# Fix: implement a better twitter client
# inference([], "PLTR")
return
def test_sentiment(self):
if not gtff.ENABLE_PREDICT:
return
# Fix: implement a better twitter client
# sentiment([], "PLTR")
return