Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions .agents/skills/python-tests/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,6 @@ license: Apache-2.0
```
Simply allow the resulting KeyError to be raised if the "data" key is not present in the results dictionary, as this will provide a clear indication of what went wrong in the test.

## Packaging Metadata Tests

When adapter installation metadata changes, assert the published composition
directly:

- The root project unconditionally depends on the exact-version
`nemo-fabric-runtime` distribution.
- Each root harness extra delegates to the matching version of the leaf
adapter's `harness` extra.
- Bare leaf dependencies remain adapter-owned, and the root `adapter-tests`
dependency group installs each leaf through its `harness` extra.
- Every leaf provides `full`. Only adapters that import NeMo Relay Python APIs
provide `relay`; adapters that launch the Relay CLI install
`nemo-relay-cli-bin` through both `harness` and `full`.

## Common Commands

```bash
Expand All @@ -61,6 +46,12 @@ uv run pytest -k "<pattern>"
uv run pytest
```

## Do Not Write Tests For

- Documentation.
- Test helper code under `tests/_utils/`.
- Package metadata or wheel installation behavior.
Comment thread
dagardner-nv marked this conversation as resolved.

## References

- `pyproject.toml`
Expand Down
196 changes: 0 additions & 196 deletions tests/adapters/test_adapter_package_metadata.py

This file was deleted.

54 changes: 0 additions & 54 deletions tests/python/test_readme_examples.py

This file was deleted.

Loading