added tests, changed __main__ to cli

This commit is contained in:
Tristan Lee
2023-09-04 13:26:38 -05:00
parent 0f8e865bf3
commit 5ae9624968
11 changed files with 101 additions and 3 deletions

15
pytest.ini Normal file
View File

@@ -0,0 +1,15 @@
[pytest]
minversion =
7.0.0
testpaths =
tests/
python_files =
*.py
addopts =
-vvv
--cov='tiktok_hashtag_analysis'
--cov-report html:reports/coverage
--html='reports/tests.html'
--self-contained-html
filterwarnings =
ignore:Glyph (.*) missing from current font