Skip to content

[Task/Feature/Issue] Complete the port from unittest to pytest #167

Description

@deanwampler

Is there an existing issue for this?

  • I have searched the existing issues

Task/Feature/Issue Details

pytest is the de facto test harness standard for Project Tapestry. We want to use it here, too, for consistency and also reuse of make tooling.

The previous PR for the refactored make process switched to pytest, but relied on its ability to run tests defined using unittest, so they currently run fine. This task is to remove the unittest dependency by porting over the code that uses it's features:

  • Change classes that use unittest base classes to use pytest equivalents or convert to features.
  • Switch to pytest-style assertions.
  • Remove unittest from pyproject.toml.
  • Confirm the test suites run successfully.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status
Planning

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions