feat: add pytest configuration and implement tests for file and metadata extraction

This commit is contained in:
sHa
2025-12-25 03:42:47 +00:00
parent 305dd5f43e
commit 4e7cf94d58
9 changed files with 446 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ dependencies = [
"textual>=6.11.0",
"python-magic>=0.4.27",
"pymediainfo>=6.0.0",
"pytest>=7.0.0",
]
[project.scripts]
@@ -16,3 +17,10 @@ renamer = "renamer.main:main"
[tool.uv]
package = true
[tool.pytest.ini_options]
addopts = "--strict-markers"
testpaths = ["renamer/test"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]