mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
Merge pull request #304 from DidierRLopes/remove-twitter-sentiment
Removing failing test
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user