A framework for writing maintainable Python tests using Fake-based implementations and contract testing.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install clean-pytest
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install clean-pytest using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Clean Pytest provides a structured approach to writing maintainable Python tests within the Openclaw Skills ecosystem. It prioritizes the creation of Fake implementations over traditional mocking to ensure high test isolation and clarity. By utilizing this skill for Openclaw Skills, developers can implement a layered testing architecture that mirrors their application's design.
The core philosophy centers on explicit AAA (Arrange, Act, Assert) patterns and dependency injection via fixtures. This methodology is especially valuable for Python-based projects requiring high reliability and clear documentation of behavior through tests rather than monkey-patching magic.
Ensure you have python3 installed on your system. To start using these patterns with Openclaw Skills, install pytest and related plugins:
pip install pytest pytest-cov
Create a tests/conftest.py file to house your shared fixtures and tests/fakes.py for your in-memory dependency implementations.
The skill organizes testing data through a structured directory hierarchy and specific implementation files:
| Component | Location | Description |
|---|---|---|
| Fakes | tests/fakes.py |
In-memory implementations of external services. |
| Fixtures | tests/conftest.py |
Global pytest fixtures and dependency injection setup. |
| Unit Tests | tests/test_*.py |
Logic-specific tests following the AAA pattern. |
| Integration | tests/test_integration_*.py |
Tests for hardware or cloud-connected components. |
Loading
A comprehensive flight aggregation and price monitoring tool designed for AI agents to automate travel research.

A navigation and discovery skill for exploring Bitrefill's global catalog of digital goods including gift cards, mobile top-ups, and travel eSIMs.

A security-first skill that verifies repositories, wallet addresses, and smart contracts using the ScamShield Sentinel API to prevent malicious interactions.

A comprehensive suite of seven standalone Python tools for high-performance quantitative simulation and financial risk modeling.

A mandatory skill for AI agents that replaces traditional pip and python commands with the high-performance uv package manager.

A connector-agnostic memory layer utilizing Postgres and pgvector for incremental data ingestion and semantic search capabilities.








































