Add basic unittests
This commit is contained in:
10
tox.ini
10
tox.ini
@@ -1,9 +1,10 @@
|
||||
[tox]
|
||||
envlist = py311, flake8, bandit, codespell
|
||||
envlist = py311, flake8, bandit, codespell, unit
|
||||
|
||||
[testenv]
|
||||
basepython = python3.11
|
||||
deps = -r {toxinidir}/test-requirements.txt
|
||||
deps = -r {toxinidir}/test-requirements.txt
|
||||
-r {toxinidir}/requirements.txt
|
||||
|
||||
[testenv:flake8]
|
||||
commands = flake8 telegram_downloader_bot/
|
||||
@@ -12,4 +13,7 @@ commands = flake8 telegram_downloader_bot/
|
||||
commands = bandit -r telegram_downloader_bot/
|
||||
|
||||
[testenv:codespell]
|
||||
commands = codespell telegram_downloader_bot/
|
||||
commands = codespell telegram_downloader_bot/
|
||||
|
||||
[testenv:unit]
|
||||
commands = stestr run --test-path tests/
|
||||
Reference in New Issue
Block a user