コード例 #1
0
 def test_stocks_def(self):
     mongo_wrapper = MongoWrapper()
     test = mongo_wrapper.get_tweets_of_stock("3D Systems Corporation")
     self.assertGreater(test.count(), 0)
コード例 #2
0
from WatchDogs_MongoWrapper import MongoWrapper

if __name__ == "__main__":
    mongo_wrapper = MongoWrapper()
    test = mongo_wrapper.get_tweets_of_stock("3D Systems Corporation")

    for x in test:
        print(x)