Scan your whole stack
From OX Research Newsroom
Are you using simple-module-test?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.51
simple-module-test was last scanned on 29 Nov 2026 at version 0.0.51. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.51 LATEST | 29 Nov 2026 | No rules fired |
| 0.0.50 | 28 Nov 2026 | No rules fired |
| 0.0.49 | 20 Nov 2026 | No rules fired |
| 0.0.48 | 19 Nov 2026 | Not shown |
| 0.0.47 | 16 Nov 2026 | Not shown |
Findings for v0.0.51. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.0.51; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Shared pytest fixtures and helpers for writing tests against simple_module apps and modules.
Fixtures are exposed via a pytest11 entry point, so installing the package is enough — no conftest.py import needed.
The plugin ignores the invoking project's .env before collection, while exported
environment variables and temporary configuration-test files still work. Test imports
default to importlib, allowing repeated basenames. Add support directories to pytest's
pythonpath when using plain helper imports or pytest_plugins.
pip install simple_module_test
# or, if you already pulled in the framework:
pip install "simple_module_hosting[dev]"
All fixtures below are auto-registered via the pytest11 entry point — installing the package is enough.
fake_event_bus — a fresh recording EventBus per test that captures every publish/publish_nowait call.build_test_app — callable returning a minimal FastAPI app that loads exactly one module.settings — a ready-to-use Settings instance with an in-memory SQLite database and multi-tenancy enabled.db_state, engine, db_session — fresh DatabaseState per test; db_session also creates all module tables and stamps alembic_version at head so the boot-time migration check passes.app — a create_app(settings) instance with lifespan started and stopped.client — an httpx.AsyncClient bound to the test app.authenticated_client — same but with an admin user seeded and a forged session cookie attached. Requires the users module to be installed (it seeds the admin via users.core.bootstrap); apps scaffolded by smpy include it.tenant_client — factory: async with tenant_client("member") as (client, tenant_id, user_id) signs in a fresh user who is an owner / admin / member (default owner) of a new tenant — or of tenant_id= when given — with that tenant active. Requires the users and tenants modules.oidc_test_issuer — an in-process OpenID Connect issuer (OidcTestIssuer): an RSA signing key with jwks(), discovery() and sign(claims), for testing an OIDC sign-in through httpx_mock without an IdP.In a module's tests/test_something.py:
import pytest
pytestmark = pytest.mark.asyncio
async def test_create_order(authenticated_client):
resp = await authenticated_client.post(
"/api/orders",
json={"customer_id": 1, "total_cents": 9900},
)
assert resp.status_code == 201
assert resp.json()["total_cents"] == 9900
No fixture imports, no conftest.py — the pytest11 entry point auto-loads them.
To enforce the standard package and test layout, call the public helper from a test:
from pathlib import Path
from simple_module_test import assert_module_layout
def test_orders_layout():
assert_module_layout(Path("modules/orders"), "orders")
For standalone module projects use Path("."). Pass named domain directories with
domain_areas={"fulfillment"} and temporary compatibility files with deprecated_root.
simple_module_core, simple_module_db, simple_module_hostingpytest, pytest-asyncio, httpx, sqlalchemyMIT — see LICENSE.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.