Metadata-Version: 2.4
Name: systest_moblin
Version: 1.0.0
Summary: Shared systest utilities for Moblin system tests.
Author-email: Erik Moqvist <erik.moqvist@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/eerimoq/systest_moblin
Keywords: test,system,moblin,ffmpeg
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: systest
Dynamic: license-file

# systest_moblin

Shared [systest](https://github.com/eerimoq/systest) utilities for the Moblin system test suites.

## Installation

```bash
pip install systest_moblin
```

## Modules

| Module | Contents |
| --- | --- |
| `systest_moblin.ffmpeg` | FFmpeg and ffprobe wrappers: recording, probing, volume and silence measurements, QR code and timecode reading. |
| `systest_moblin.test_case` | `TestCase`, a `systest.TestCase` with assertions on recorded video and audio. |
| `systest_moblin.utils` | `probe_recording()` and helpers on top of the FFmpeg wrappers. |
| `systest_moblin.web_server` | A static file web server as a context manager. |

`ffmpeg`, `ffprobe`, `zbarimg` and `ltcdump` must be installed and on the path.

## Release

Push a tag to publish to PyPI. The tag must match the version in `pyproject.toml`.

```bash
git tag 1.0.0
git push origin 1.0.0
```
