test restructuring via pytest
This commit is contained in:
parent
d1ac87ce6e
commit
69dd4a9f2f
19 changed files with 858 additions and 619 deletions
|
|
@ -36,8 +36,17 @@ include-package-data=false
|
|||
[tool.setuptools.package-data]
|
||||
"*" = ["**.rst", "**.py", "**.mo"]
|
||||
|
||||
###############
|
||||
# DEVELOPMENT #
|
||||
###############
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
python_functions = "test_*"
|
||||
testpaths = ["tests"]
|
||||
addopts = "--verbose --cov"
|
||||
|
||||
[tool.coverage.run]
|
||||
command_line = "-m unittest discover tests"
|
||||
source = ["ytmusicapi"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 110
|
||||
|
|
@ -59,4 +68,6 @@ dev = [
|
|||
'sphinx-rtd-theme',
|
||||
"ruff>=0.1.9",
|
||||
"mypy>=1.8.0",
|
||||
"pytest>=7.4.4",
|
||||
"pytest-cov>=4.1.0",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue