politweet / tests /classifier_test.py
olofbengtsson's picture
Added test folder with some tests for the scraper and a file to start writing in for the classifier
f8ad876
raw
history blame
392 Bytes
import unittest
import pandas as pd
from datetime import datetime
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parents[1]) + "/textclassifier")
from TextClassifier import TextClassifier
class MyTestCase(unittest.TestCase):
def test_something(self):
self.assertEqual(True, False) # add assertion here
if __name__ == '__main__':
unittest.main()