feat(tests): add E2E tests with pytfm framework
- Add pytfm workspace dependency to tests and types groups - Create E2E test example using pytfm API and page objects - Add BlogHomePage and BlogAPI test classes Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -38,6 +38,7 @@ tests = [
|
||||
"pytest>=9.0.3",
|
||||
"pytest-asyncio>=1.3.0",
|
||||
"pytest-cov>=7.1.0",
|
||||
"pytfm",
|
||||
]
|
||||
lints = [
|
||||
"black>=23.7.0",
|
||||
@@ -47,11 +48,15 @@ lints = [
|
||||
types = [
|
||||
"mimesis>=19.1.0",
|
||||
"mypy>=1.20.1",
|
||||
"pytfm",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
blog = "app.main:main"
|
||||
|
||||
[tool.uv.sources]
|
||||
pytfm = { workspace = true }
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
|
||||
Reference in New Issue
Block a user